mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
calculate heading using gyro-only on boards without mag - idea by Cesco
added constants for gyro/acc/baro cal and fixed calibration to add /2 warning cleanup in drv_serial.c git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@426 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
parent
5332b78200
commit
3744f36895
7 changed files with 49 additions and 32 deletions
|
@ -606,7 +606,7 @@ static void evaluateCommand(void)
|
|||
break;
|
||||
case MSP_ACC_CALIBRATION:
|
||||
if (!f.ARMED)
|
||||
calibratingA = 400;
|
||||
calibratingA = CALIBRATING_ACC_CYCLES;
|
||||
headSerialReply(0);
|
||||
break;
|
||||
case MSP_MAG_CALIBRATION:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue