1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-24 00:35:34 +03:00

Move Airmode below Horizon/Angle (needed some OSD's)

This commit is contained in:
Konstantin Sharlaimov (DigitalEntity) 2015-12-12 21:52:32 +10:00
parent acd0caf4ec
commit e5dbfd8ac2

View file

@ -642,13 +642,14 @@ void mspInit(serialConfig_t *serialConfig)
activeBoxIdCount = 0;
activeBoxIds[activeBoxIdCount++] = BOXARM;
activeBoxIds[activeBoxIdCount++] = BOXAIRMODE;
if (sensors(SENSOR_ACC)) {
activeBoxIds[activeBoxIdCount++] = BOXANGLE;
activeBoxIds[activeBoxIdCount++] = BOXHORIZON;
}
activeBoxIds[activeBoxIdCount++] = BOXAIRMODE;
if (sensors(SENSOR_ACC) || sensors(SENSOR_MAG)) {
activeBoxIds[activeBoxIdCount++] = BOXMAG;
activeBoxIds[activeBoxIdCount++] = BOXHEADFREE;