Merge pull request #7937 from TonyBlit/altitude_alarm_fix
Avoid altitude to blink if its value exceeds the alarm threshold when…
This commit is contained in:
commit
2b79f2b1a4
|
@ -1559,7 +1559,7 @@ void osdUpdateAlarms(void)
|
|||
CLR_BLINK(OSD_REMAINING_TIME_ESTIMATE);
|
||||
}
|
||||
|
||||
if (alt >= osdConfig()->alt_alarm) {
|
||||
if ((alt >= osdConfig()->alt_alarm) && ARMING_FLAG(ARMED)) {
|
||||
SET_BLINK(OSD_ALTITUDE);
|
||||
} else {
|
||||
CLR_BLINK(OSD_ALTITUDE);
|
||||
|
|
Loading…
Reference in New Issue