1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-22 15:55:48 +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(BOXHORIZON);
BME(BOXHEADFREE);
BME(BOXHEADADJ);
}
#ifdef BARO
@ -328,7 +329,6 @@ void initActiveBoxIds(void)
#ifdef MAG
if (sensors(SENSOR_MAG)) {
BME(BOXMAG);
BME(BOXHEADADJ);
}
#endif