File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2558,16 +2558,15 @@ static bool osdDrawSingleElement(uint8_t item)
25582558 if (FLIGHT_MODE (NAV_FW_AUTOLAND ))
25592559 p = "LAND" ;
25602560 else
2561- #endif
2562- #ifdef USE_GEOZONE
2563- if (FLIGHT_MODE (NAV_SEND_TO ))
2564- p = "GEO" ;
2565- else
25662561#endif
25672562 if (FLIGHT_MODE (FAILSAFE_MODE ))
25682563 p = "!FS!" ;
25692564 else if (FLIGHT_MODE (MANUAL_MODE ))
25702565 p = "MANU" ;
2566+ #ifdef USE_GEOZONE
2567+ else if (FLIGHT_MODE (NAV_SEND_TO ) && !FLIGHT_MODE (NAV_WP_MODE ))
2568+ p = "GEO ";
2569+ #endif
25712570 else if (FLIGHT_MODE (TURTLE_MODE ))
25722571 p = "TURT" ;
25732572 else if (FLIGHT_MODE (NAV_RTH_MODE ))
Original file line number Diff line number Diff line change @@ -353,18 +353,19 @@ static void crsfFrameFlightMode(sbuf_t *dst)
353353 const char * flightMode = "OK" ;
354354 if (ARMING_FLAG (ARMED )) {
355355 flightMode = "ACRO" ;
356- if (FLIGHT_MODE (FAILSAFE_MODE )) {
357- flightMode = "!FS!" ;
358356#ifdef USE_FW_AUTOLAND
359- } else if (FLIGHT_MODE (NAV_FW_AUTOLAND )) {
357+ if (FLIGHT_MODE (NAV_FW_AUTOLAND )) {
360358 flightMode = "LAND" ;
359+ } else
361360#endif
362- #ifdef USE_GEOZONE
363- } else if (FLIGHT_MODE (NAV_SEND_TO )) {
364- flightMode = "GEO" ;
365- #endif
361+ if (FLIGHT_MODE (FAILSAFE_MODE )) {
362+ flightMode = "!FS!" ;
366363 } else if (FLIGHT_MODE (MANUAL_MODE )) {
367364 flightMode = "MANU" ;
365+ #ifdef USE_GEOZONE
366+ } else if (FLIGHT_MODE (NAV_SEND_TO ) && !FLIGHT_MODE (NAV_WP_MODE )) {
367+ flightMode = "GEO" ;
368+ #endif
368369 } else if (FLIGHT_MODE(TURTLE_MODE)) {
369370 flightMode = "TURT" ;
370371 } else if (FLIGHT_MODE (NAV_RTH_MODE )) {
You can’t perform that action at this time.
0 commit comments