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

Merge pull request #2800 from jflyper/bfdef-cms-resurrect-display-cycling

[CMS] Resurrect display cycling
This commit is contained in:
Martin Budden 2017-04-03 20:52:30 +01:00 committed by GitHub
commit 149ed180f6
3 changed files with 42 additions and 26 deletions

View file

@ -582,6 +582,9 @@ static void osdDrawLogo(int x, int y)
void osdInit(displayPort_t *osdDisplayPortToUse)
{
if (!osdDisplayPortToUse)
return;
BUILD_BUG_ON(OSD_POS_MAX != OSD_POS(31,31));
osdDisplayPort = osdDisplayPortToUse;