mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 20:35:33 +03:00
Merge pull request #11359 from alexeystn/fix_visual_beeper
Fix visual beeper
This commit is contained in:
commit
fc8318f54b
1 changed files with 1 additions and 4 deletions
|
@ -1203,9 +1203,7 @@ void osdUpdate(timeUs_t currentTimeUs)
|
|||
break;
|
||||
|
||||
case OSD_STATE_CHECK:
|
||||
if (isBeeperOn()) {
|
||||
showVisualBeeper = true;
|
||||
}
|
||||
showVisualBeeper = isBeeperOn();
|
||||
|
||||
// don't touch buffers if DMA transaction is in progress
|
||||
if (displayIsTransferInProgress(osdDisplayPort)) {
|
||||
|
@ -1227,7 +1225,6 @@ void osdUpdate(timeUs_t currentTimeUs)
|
|||
case OSD_STATE_PROCESS_STATS1:
|
||||
{
|
||||
bool refreshStatsRequired = osdProcessStats1(currentTimeUs);
|
||||
showVisualBeeper = false;
|
||||
|
||||
if (refreshStatsRequired) {
|
||||
osdState = OSD_STATE_REFRESH_STATS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue