1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 11:29:58 +03:00
* Fix ATRN

- Fixes: #14359

* Fix typo
This commit is contained in:
Mark Haslinghuis 2025-04-29 06:43:18 +02:00 committed by GitHub
parent 948dfd79dd
commit 5b82a6aa2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1097,10 +1097,10 @@ static void osdElementFlymode(osdElementParms_t *element)
} else if (IS_RC_MODE_ACTIVE(BOXACROTRAINER)) { } else if (IS_RC_MODE_ACTIVE(BOXACROTRAINER)) {
strcpy(element->buff, "ATRN"); strcpy(element->buff, "ATRN");
#ifdef USE_CHIRP #ifdef USE_CHIRP
// the additional check for pidChirpIsFinished() is to have visual feedback for user that don't have warnings enabled in their googles // the additional check for pidChirpIsFinished() is to have visual feedback for user that don't have warnings enabled in their goggles
} else if (FLIGHT_MODE(CHIRP_MODE) && !pidChirpIsFinished()) { } else if (FLIGHT_MODE(CHIRP_MODE) && !pidChirpIsFinished()) {
#endif
strcpy(element->buff, "CHIR"); strcpy(element->buff, "CHIR");
#endif
} else if (isAirmodeEnabled()) { } else if (isAirmodeEnabled()) {
strcpy(element->buff, "AIR "); strcpy(element->buff, "AIR ");
} else { } else {