1
0
Fork 0
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:
jflyper 2016-11-07 22:29:35 +09:00
parent 5a6828b87f
commit c12942ed41
3 changed files with 3 additions and 6 deletions

View file

@ -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