mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Merge pull request #6265 from atomgomba/improvement-acro-trainer-osd
Add Acro Trainer as flight mode to OSD
This commit is contained in:
commit
83612180fc
1 changed files with 2 additions and 0 deletions
|
@ -584,6 +584,8 @@ static bool osdDrawSingleElement(uint8_t item)
|
||||||
strcpy(buff, "HOR ");
|
strcpy(buff, "HOR ");
|
||||||
} else if (FLIGHT_MODE(GPS_RESCUE_MODE)) {
|
} else if (FLIGHT_MODE(GPS_RESCUE_MODE)) {
|
||||||
strcpy(buff, "RESC");
|
strcpy(buff, "RESC");
|
||||||
|
} else if (IS_RC_MODE_ACTIVE(BOXACROTRAINER)) {
|
||||||
|
strcpy(buff, "ATRN");
|
||||||
} else if (isAirmodeActive()) {
|
} else if (isAirmodeActive()) {
|
||||||
strcpy(buff, "AIR ");
|
strcpy(buff, "AIR ");
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue