Merge pull request #7436 from etracer65/fix_ledstrip_defines
Fix LEDSTRIP defines to prevent compilation errors
This commit is contained in:
commit
22a820a6ff
|
@ -341,7 +341,7 @@ static const char * const lookupOverclock[] = {
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef USE_LED_STRIP_STATUS_MODE
|
#ifdef USE_LED_STRIP
|
||||||
static const char * const lookupLedStripFormatRGB[] = {
|
static const char * const lookupLedStripFormatRGB[] = {
|
||||||
"GRB", "RGB"
|
"GRB", "RGB"
|
||||||
};
|
};
|
||||||
|
@ -522,7 +522,7 @@ const lookupTableEntry_t lookupTables[] = {
|
||||||
#ifdef USE_OVERCLOCK
|
#ifdef USE_OVERCLOCK
|
||||||
LOOKUP_TABLE_ENTRY(lookupOverclock),
|
LOOKUP_TABLE_ENTRY(lookupOverclock),
|
||||||
#endif
|
#endif
|
||||||
#ifdef USE_LED_STRIP_STATUS_MODE
|
#ifdef USE_LED_STRIP
|
||||||
LOOKUP_TABLE_ENTRY(lookupLedStripFormatRGB),
|
LOOKUP_TABLE_ENTRY(lookupLedStripFormatRGB),
|
||||||
#endif
|
#endif
|
||||||
#ifdef USE_MULTI_GYRO
|
#ifdef USE_MULTI_GYRO
|
||||||
|
|
|
@ -92,7 +92,7 @@ typedef enum {
|
||||||
#ifdef USE_OVERCLOCK
|
#ifdef USE_OVERCLOCK
|
||||||
TABLE_OVERCLOCK,
|
TABLE_OVERCLOCK,
|
||||||
#endif
|
#endif
|
||||||
#ifdef USE_LED_STRIP_STATUS_MODE
|
#ifdef USE_LED_STRIP
|
||||||
TABLE_RGB_GRB,
|
TABLE_RGB_GRB,
|
||||||
#endif
|
#endif
|
||||||
#ifdef USE_MULTI_GYRO
|
#ifdef USE_MULTI_GYRO
|
||||||
|
|
Loading…
Reference in New Issue