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

Added a condition for enabling OSD task

This commit is contained in:
Andrey Mironov 2018-07-24 11:54:37 +03:00
parent 0115ff15b2
commit 65bff6b7d7
6 changed files with 18 additions and 5 deletions

View file

@ -1131,6 +1131,11 @@ void osdInit(displayPort_t *osdDisplayPortToUse)
resumeRefreshAt = micros() + (4 * REFRESH_1S);
}
bool osdInitialized(void)
{
return osdDisplayPort;
}
void osdUpdateAlarms(void)
{
// This is overdone?