1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 12:55:19 +03:00

Add LED profile feature - 4278

This commit is contained in:
Pieter Kruger 2019-01-17 12:47:09 +10:00
parent e0fc9300ed
commit 4ec536a317
15 changed files with 333 additions and 101 deletions

View file

@ -92,7 +92,7 @@ typedef enum {
#ifdef USE_OVERCLOCK
TABLE_OVERCLOCK,
#endif
#ifdef USE_LED_STRIP
#ifdef USE_LED_STRIP_STATUS_MODE
TABLE_RGB_GRB,
#endif
#ifdef USE_MULTI_GYRO
@ -130,6 +130,10 @@ typedef enum {
#endif
#ifdef USE_TPA_MODE
TABLE_TPA_MODE,
#endif
#ifdef USE_LED_STRIP
TABLE_LED_PROFILE,
TABLE_LED_RACE_COLOR,
#endif
LOOKUP_TABLE_COUNT
} lookupTableIndex_e;
@ -218,3 +222,5 @@ extern const char * const lookupTableMagHardware[];
//extern const uint8_t lookupTableMagHardwareEntryCount;
extern const char * const lookupTableRangefinderHardware[];
extern const char * const lookupTableLEDRaceColors[];