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:
Michael Keller 2018-07-22 20:16:09 +12:00 committed by GitHub
commit 7b212f7d69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.