From 6034143a596bf3e04c269b323b61756ef394e3cf Mon Sep 17 00:00:00 2001 From: Bruce Luckcuck Date: Sat, 19 Jan 2019 14:59:22 -0500 Subject: [PATCH] Fix LEDSTRIP defines to prevent compilation errors --- src/main/interface/settings.c | 4 ++-- src/main/interface/settings.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/interface/settings.c b/src/main/interface/settings.c index 280ef9838..67e60746a 100644 --- a/src/main/interface/settings.c +++ b/src/main/interface/settings.c @@ -341,7 +341,7 @@ static const char * const lookupOverclock[] = { }; #endif -#ifdef USE_LED_STRIP_STATUS_MODE +#ifdef USE_LED_STRIP static const char * const lookupLedStripFormatRGB[] = { "GRB", "RGB" }; @@ -522,7 +522,7 @@ const lookupTableEntry_t lookupTables[] = { #ifdef USE_OVERCLOCK LOOKUP_TABLE_ENTRY(lookupOverclock), #endif -#ifdef USE_LED_STRIP_STATUS_MODE +#ifdef USE_LED_STRIP LOOKUP_TABLE_ENTRY(lookupLedStripFormatRGB), #endif #ifdef USE_MULTI_GYRO diff --git a/src/main/interface/settings.h b/src/main/interface/settings.h index 83c15deb3..753055474 100644 --- a/src/main/interface/settings.h +++ b/src/main/interface/settings.h @@ -92,7 +92,7 @@ typedef enum { #ifdef USE_OVERCLOCK TABLE_OVERCLOCK, #endif -#ifdef USE_LED_STRIP_STATUS_MODE +#ifdef USE_LED_STRIP TABLE_RGB_GRB, #endif #ifdef USE_MULTI_GYRO