comment tidy
This commit is contained in:
parent
e186a2d709
commit
3df4a84c1c
|
@ -442,7 +442,7 @@ void init(void)
|
||||||
|
|
||||||
if (feature(FEATURE_OSD)) {
|
if (feature(FEATURE_OSD)) {
|
||||||
#if defined(USE_MAX7456)
|
#if defined(USE_MAX7456)
|
||||||
// if there is a max7456 chip for the OSD then use it, otherwise use MSP
|
// If there is a max7456 chip for the OSD then use it
|
||||||
osdDisplayPort = max7456DisplayPortInit(vcdProfile());
|
osdDisplayPort = max7456DisplayPortInit(vcdProfile());
|
||||||
#elif defined(USE_OSD_OVER_MSP_DISPLAYPORT) // OSD over MSP; not supported (yet)
|
#elif defined(USE_OSD_OVER_MSP_DISPLAYPORT) // OSD over MSP; not supported (yet)
|
||||||
osdDisplayPort = displayPortMspInit();
|
osdDisplayPort = displayPortMspInit();
|
||||||
|
@ -452,7 +452,7 @@ void init(void)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CMS) && defined(USE_MSP_DISPLAYPORT)
|
#if defined(CMS) && defined(USE_MSP_DISPLAYPORT)
|
||||||
// If BFOSD is not active, then register as register MSP_DISPLAYPORT.
|
// If BFOSD is not active, then register MSP_DISPLAYPORT as a CMS device.
|
||||||
if (!osdDisplayPort)
|
if (!osdDisplayPort)
|
||||||
cmsDisplayPortRegister(displayPortMspInit());
|
cmsDisplayPortRegister(displayPortMspInit());
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue