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

CF/BF - Prevent 'waiting for fc' message on OSD slave when the osd

statistics page or splash screen is shown.
This commit is contained in:
Hydra 2017-04-15 12:45:53 +01:00 committed by Dominic Clifton
parent 4d70c43c1a
commit 228e457ead
2 changed files with 5 additions and 2 deletions

View file

@ -846,6 +846,7 @@ static void osdRefresh(timeUs_t currentTimeUs)
resumeRefreshAt = 0;
}
displayHeartbeat(osdDisplayPort);
return;
} else {
displayClearScreen(osdDisplayPort);
@ -859,7 +860,7 @@ static void osdRefresh(timeUs_t currentTimeUs)
if (!displayIsGrabbed(osdDisplayPort)) {
osdUpdateAlarms();
osdDrawElements();
displayHeartbeat(osdDisplayPort); // heartbeat to stop Minim OSD going back into native mode
displayHeartbeat(osdDisplayPort);
#ifdef OSD_CALLS_CMS
} else {
cmsUpdate(currentTimeUs);