mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Substitute FEATURE_MSP_DISPLAYPORT with !defined(OSD)
Save feature bits.
This commit is contained in:
parent
5a6828b87f
commit
c12942ed41
3 changed files with 3 additions and 6 deletions
|
@ -460,10 +460,8 @@ void init(void)
|
|||
mspFcInit();
|
||||
mspSerialInit();
|
||||
|
||||
#ifdef USE_MSP_DISPLAYPORT
|
||||
if (feature(FEATURE_MSP_DISPLAYPORT)) {
|
||||
cmsDisplayPortRegister(displayPortMspInit());
|
||||
}
|
||||
#if defined(USE_MSP_DISPLAYPORT) && defined(CMS)
|
||||
cmsDisplayPortRegister(displayPortMspInit());
|
||||
#endif
|
||||
|
||||
#ifdef USE_CLI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue