mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
no beeper warning when armed
This commit is contained in:
parent
00b4531a3e
commit
a7cda11eb5
1 changed files with 1 additions and 1 deletions
|
@ -420,7 +420,7 @@ void renderOsdWarning(char *warningText, bool *blinking, uint8_t *displayAttr)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Visual beeper
|
// Visual beeper
|
||||||
if (osdWarnGetState(OSD_WARNING_VISUAL_BEEPER) && osdGetVisualBeeperState()) {
|
if (osdWarnGetState(OSD_WARNING_VISUAL_BEEPER) && osdGetVisualBeeperState() && !ARMING_FLAG(ARMED)) {
|
||||||
tfp_sprintf(warningText, " * * * *");
|
tfp_sprintf(warningText, " * * * *");
|
||||||
*displayAttr = DISPLAYPORT_SEVERITY_INFO;
|
*displayAttr = DISPLAYPORT_SEVERITY_INFO;
|
||||||
osdSetVisualBeeperState(false);
|
osdSetVisualBeeperState(false);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue