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:
parent
d8e8d8374d
commit
25a499cc9a
6 changed files with 32 additions and 14 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue