mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 17:25:18 +03:00
Update fc_msp_box.c
This commit is contained in:
parent
1d64e0a34f
commit
6f6371b3c0
1 changed files with 5 additions and 7 deletions
|
@ -218,14 +218,12 @@ void initActiveBoxIds(void)
|
|||
activeBoxIds[activeBoxIdCount++] = BOXNAVRTH;
|
||||
activeBoxIds[activeBoxIdCount++] = BOXNAVWP;
|
||||
activeBoxIds[activeBoxIdCount++] = BOXHOMERESET;
|
||||
activeBoxIds[activeBoxIdCount++] = BOXGCSNAV;
|
||||
|
||||
if (feature(FEATURE_GPS)) {
|
||||
activeBoxIds[activeBoxIdCount++] = BOXGCSNAV;
|
||||
if (STATE(AIRPLANE)) {
|
||||
activeBoxIds[activeBoxIdCount++] = BOXNAVCOURSEHOLD;
|
||||
activeBoxIds[activeBoxIdCount++] = BOXNAVCRUISE;
|
||||
activeBoxIds[activeBoxIdCount++] = BOXSOARING;
|
||||
}
|
||||
if (STATE(AIRPLANE)) {
|
||||
activeBoxIds[activeBoxIdCount++] = BOXNAVCOURSEHOLD;
|
||||
activeBoxIds[activeBoxIdCount++] = BOXNAVCRUISE;
|
||||
activeBoxIds[activeBoxIdCount++] = BOXSOARING;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue