1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

Fixup OSD builds without MAX7456

This commit is contained in:
Martin Budden 2016-11-17 07:11:58 +00:00
parent 5362709f03
commit efd859f14d
3 changed files with 45 additions and 26 deletions

View file

@ -412,8 +412,6 @@ void init(void)
displayPort_t *osdDisplayPort = max7456DisplayPortInit(&masterConfig.vcdProfile);
#else
displayPort_t *osdDisplayPort = displayPortMspInit();
// grab the OSD to stop the minim OSD writing to it autonomously
displayGrab(osdDisplayPort);
#endif
osdInit(osdDisplayPort);
}