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