1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 17:25:20 +03:00

Mag heading optionally ignored while GPS Rescue is running

If flyaway condition is met and a mag is in use, mag is disabled and countdown is reset
Minor cleanup
This commit is contained in:
Tony Cabello 2018-12-27 02:49:25 +01:00
parent d8e8d8374d
commit 25a499cc9a
6 changed files with 32 additions and 14 deletions

View file

@ -996,7 +996,7 @@ static bool osdDrawSingleElement(uint8_t item)
if (osdWarnGetState(OSD_WARNING_GPS_RESCUE_UNAVAILABLE) &&
ARMING_FLAG(ARMED) &&
gpsRescueIsConfigured() &&
!isGPSRescueAvailable()) {
!gpsRescueIsAvailable()) {
osdFormatMessage(buff, OSD_FORMAT_MESSAGE_BUFFER_SIZE, "NO GPS RESC");
SET_BLINK(OSD_WARNINGS);
break;