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:
parent
5362709f03
commit
efd859f14d
3 changed files with 45 additions and 26 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue