Merge pull request #6419 from mikeller/fix_displayport_without_msp
Fixed compilation error when displayport over MSP is not defined.
This commit is contained in:
commit
7b212f7d69
|
@ -566,7 +566,7 @@ void init(void)
|
|||
#if defined(USE_MAX7456)
|
||||
// If there is a max7456 chip for the OSD then use it
|
||||
osdDisplayPort = max7456DisplayPortInit(vcdProfile());
|
||||
#elif defined(USE_OSD_OVER_MSP_DISPLAYPORT) // OSD over MSP; not supported (yet)
|
||||
#elif defined(USE_CMS) && defined(USE_MSP_DISPLAYPORT) && defined(USE_OSD_OVER_MSP_DISPLAYPORT) // OSD over MSP; not supported (yet)
|
||||
osdDisplayPort = displayPortMspInit();
|
||||
#endif
|
||||
// osdInit will register with CMS by itself.
|
||||
|
|
Loading…
Reference in New Issue