1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

added improved mag calibration from http://www.multiwii.com/forum/viewtopic.php?p=13334#p13334 (thanks EOSBandi)

new hex file only works with Java GUI 20120504-dev :( WinGUI is still not updated. Use latest release version on downloads page if want to use WinGUI.

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@153 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
timecop 2012-05-06 09:58:03 +00:00
parent 0d7460960e
commit 941f2f1762
9 changed files with 2684 additions and 2495 deletions

View file

@ -126,6 +126,7 @@ typedef struct config_t {
uint8_t dynThrPID;
int16_t accZero[3];
int16_t magZero[3];
int16_t magDeclination; // Get your magnetic decliniation from here : http://magnetic-declination.com/
int16_t accTrim[2];
// sensor-related stuff
@ -290,6 +291,9 @@ uint32_t featureMask(void);
void spektrumInit(void);
bool spektrumFrameComplete(void);
// buzzer
void buzzer(uint8_t warn_vbat);
// cli
void cliProcess(void);