Changed USE_MSP_OSD to USE_MSP_DISPLAYPORT

This commit is contained in:
Martin Budden 2016-11-06 20:40:42 +00:00
parent d8a83518db
commit 44d633e5e7
5 changed files with 9 additions and 9 deletions

View File

@ -22,7 +22,7 @@
#include "platform.h"
#ifdef USE_MSP_OSD
#ifdef USE_MSP_DISPLAYPORT
#include "common/utils.h"
@ -116,4 +116,4 @@ displayPort_t *displayPortMspInit(void)
resync(&mspDisplayPort);
return &mspDisplayPort;
}
#endif // USE_MSP_OSD
#endif // USE_MSP_DISPLAYPORT

View File

@ -460,7 +460,7 @@ void init(void)
mspFcInit();
mspSerialInit();
#ifdef USE_MSP_OSD
#ifdef USE_MSP_DISPLAYPORT
if (feature(FEATURE_MSP_OSD)) {
cmsDisplayPortRegister(displayPortMspInit());
}

View File

@ -97,8 +97,8 @@
#define CMS
#define CMS_MAX_DEVICE 4
// Use external OSD to run CMS
#define USE_MSP_OSD
// Use external display to run CMS
#define USE_MSP_DISPLAYPORT
// USE I2C OLED display to run CMS
#define OLEDCMS

View File

@ -144,8 +144,8 @@
// Configuratoin Menu System
#define CMS
// Use external OSD to run CMS
#define USE_MSP_OSD
// Use external display to run CMS
#define USE_MSP_DISPLAYPORT
// USE I2C OLED display to run CMS
#define OLEDCMS

View File

@ -145,8 +145,8 @@
// Configuratoin Menu System
#define CMS
// Use external OSD to run CMS
#define USE_MSP_OSD
// Use external display to run CMS
#define USE_MSP_DISPLAYPORT
// USE I2C OLED display to run CMS
#define OLEDCMS