Skip to content

Commit

Permalink
Rename flight mode (betaflight#12983)
Browse files Browse the repository at this point in the history
* Rename flight mode

* Remove GND mode
  • Loading branch information
haslinghuis authored and freasy committed Aug 10, 2023
1 parent e9070d0 commit 6489cfc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/main/telemetry/crsf.c
Original file line number Diff line number Diff line change
Expand Up @@ -378,11 +378,6 @@ void crsfFrameFlightMode(sbuf_t *dst)
// Acro is the default mode
const char *flightMode = "ACRO";

// Modes that are only relevant when disarmed
if (!ARMING_FLAG(ARMED) && isArmingDisabled()) {
flightMode = "!ERR";
} else

#if defined(USE_GPS)
if (!ARMING_FLAG(ARMED) && featureIsEnabled(FEATURE_GPS) && (!STATE(GPS_FIX) || !STATE(GPS_FIX_HOME))) {
flightMode = "WAIT"; // Waiting for GPS lock
Expand Down

0 comments on commit 6489cfc

Please sign in to comment.