mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 07:15:18 +03:00
Changed USE_MSP_OSD to USE_MSP_DISPLAYPORT
This commit is contained in:
parent
d8a83518db
commit
44d633e5e7
5 changed files with 9 additions and 9 deletions
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
|
|
||||||
#ifdef USE_MSP_OSD
|
#ifdef USE_MSP_DISPLAYPORT
|
||||||
|
|
||||||
#include "common/utils.h"
|
#include "common/utils.h"
|
||||||
|
|
||||||
|
@ -116,4 +116,4 @@ displayPort_t *displayPortMspInit(void)
|
||||||
resync(&mspDisplayPort);
|
resync(&mspDisplayPort);
|
||||||
return &mspDisplayPort;
|
return &mspDisplayPort;
|
||||||
}
|
}
|
||||||
#endif // USE_MSP_OSD
|
#endif // USE_MSP_DISPLAYPORT
|
||||||
|
|
|
@ -460,7 +460,7 @@ void init(void)
|
||||||
mspFcInit();
|
mspFcInit();
|
||||||
mspSerialInit();
|
mspSerialInit();
|
||||||
|
|
||||||
#ifdef USE_MSP_OSD
|
#ifdef USE_MSP_DISPLAYPORT
|
||||||
if (feature(FEATURE_MSP_OSD)) {
|
if (feature(FEATURE_MSP_OSD)) {
|
||||||
cmsDisplayPortRegister(displayPortMspInit());
|
cmsDisplayPortRegister(displayPortMspInit());
|
||||||
}
|
}
|
||||||
|
|
|
@ -97,8 +97,8 @@
|
||||||
#define CMS
|
#define CMS
|
||||||
#define CMS_MAX_DEVICE 4
|
#define CMS_MAX_DEVICE 4
|
||||||
|
|
||||||
// Use external OSD to run CMS
|
// Use external display to run CMS
|
||||||
#define USE_MSP_OSD
|
#define USE_MSP_DISPLAYPORT
|
||||||
|
|
||||||
// USE I2C OLED display to run CMS
|
// USE I2C OLED display to run CMS
|
||||||
#define OLEDCMS
|
#define OLEDCMS
|
||||||
|
|
|
@ -144,8 +144,8 @@
|
||||||
// Configuratoin Menu System
|
// Configuratoin Menu System
|
||||||
#define CMS
|
#define CMS
|
||||||
|
|
||||||
// Use external OSD to run CMS
|
// Use external display to run CMS
|
||||||
#define USE_MSP_OSD
|
#define USE_MSP_DISPLAYPORT
|
||||||
|
|
||||||
// USE I2C OLED display to run CMS
|
// USE I2C OLED display to run CMS
|
||||||
#define OLEDCMS
|
#define OLEDCMS
|
||||||
|
|
|
@ -145,8 +145,8 @@
|
||||||
// Configuratoin Menu System
|
// Configuratoin Menu System
|
||||||
#define CMS
|
#define CMS
|
||||||
|
|
||||||
// Use external OSD to run CMS
|
// Use external display to run CMS
|
||||||
#define USE_MSP_OSD
|
#define USE_MSP_DISPLAYPORT
|
||||||
|
|
||||||
// USE I2C OLED display to run CMS
|
// USE I2C OLED display to run CMS
|
||||||
#define OLEDCMS
|
#define OLEDCMS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue