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:
parent
1ed61a25ea
commit
64c3df565b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue