1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 05:15:25 +03:00

Tidied up CMS related #defines

This commit is contained in:
Martin Budden 2016-11-08 06:11:32 +00:00
parent 30dfe0c3a5
commit 2a2960f584
5 changed files with 6 additions and 16 deletions

View file

@ -589,7 +589,7 @@ void dashboardUpdate(uint32_t currentTime)
{
static uint8_t previousArmedState = 0;
#ifdef OLEDCMS
#ifdef CMS
if (displayIsGrabbed(displayPort)) {
return;
}
@ -707,7 +707,7 @@ void dashboardInit(rxConfig_t *rxConfigToUse)
delay(200);
displayPort = displayPortOledInit();
#if defined(CMS) && defined(OLEDCMS)
#if defined(CMS)
cmsDisplayPortRegister(displayPort);
#endif