1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00

enable BOXHEADADJ when HEADFREEE is enabled, to enable correction of gyro drift

This commit is contained in:
Adrian Miriuta 2017-06-05 10:42:40 +02:00
parent 1ed61a25ea
commit 64c3df565b

View file

@ -317,6 +317,7 @@ void initActiveBoxIds(void)
BME(BOXANGLE); BME(BOXANGLE);
BME(BOXHORIZON); BME(BOXHORIZON);
BME(BOXHEADFREE); BME(BOXHEADFREE);
BME(BOXHEADADJ);
} }
#ifdef BARO #ifdef BARO
@ -328,7 +329,6 @@ void initActiveBoxIds(void)
#ifdef MAG #ifdef MAG
if (sensors(SENSOR_MAG)) { if (sensors(SENSOR_MAG)) {
BME(BOXMAG); BME(BOXMAG);
BME(BOXHEADADJ);
} }
#endif #endif