mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Altitude hold for 4.6 (#13816)
This commit is contained in:
parent
350510603c
commit
254da8f460
46 changed files with 805 additions and 108 deletions
|
@ -1048,7 +1048,7 @@ static void osdElementFlymode(osdElementParms_t *element)
|
|||
// Note that flight mode display has precedence in what to display.
|
||||
// 1. FS
|
||||
// 2. GPS RESCUE
|
||||
// 3. ANGLE, HORIZON, ACRO TRAINER
|
||||
// 3. ANGLE, HORIZON, ACRO TRAINER, ALTHOLD
|
||||
// 4. AIR
|
||||
// 5. ACRO
|
||||
|
||||
|
@ -1060,6 +1060,8 @@ static void osdElementFlymode(osdElementParms_t *element)
|
|||
strcpy(element->buff, "HEAD");
|
||||
} else if (FLIGHT_MODE(ANGLE_MODE)) {
|
||||
strcpy(element->buff, "ANGL");
|
||||
} else if (FLIGHT_MODE(ALT_HOLD_MODE)) {
|
||||
strcpy(element->buff, "ALTH ");
|
||||
} else if (FLIGHT_MODE(HORIZON_MODE)) {
|
||||
strcpy(element->buff, "HOR ");
|
||||
} else if (IS_RC_MODE_ACTIVE(BOXACROTRAINER)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue