Fix LEDSTRIP defines to prevent compilation errors

This commit is contained in:
Bruce Luckcuck 2019-01-19 14:59:22 -05:00
parent 628fdb8adc
commit 6034143a59
2 changed files with 3 additions and 3 deletions

View File

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

View File

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