mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Fixed compilation error when displayport over MSP is not defined.
This commit is contained in:
parent
4382203abf
commit
6da89d5f04
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue