diff --git a/include/Config.h b/include/Config.h index 89fc58d..c505c3e 100644 --- a/include/Config.h +++ b/include/Config.h @@ -39,17 +39,17 @@ #define LED_COUNT_FRONT 26 #define LED_BACK 14 -#define LED_COUNT_BACK 72 +#define LED_COUNT_BACK 120 // Buttons #define BTN_LED_BLUE 21 #define BTN_BLUE 20 #define BTN_LED_RED 17 #define BTN_RED 16 -#define BTN_LED_GREEN 23 -#define BTN_GREEN 22 -#define BTN_LED_YELLOW 19 -#define BTN_YELLOW 18 +#define BTN_LED_YELLOW 23 +#define BTN_YELLOW 22 +#define BTN_LED_GREEN 19 +#define BTN_GREEN 18 // NC (Blink-Sink) #define NC_PIN 11 diff --git a/src/main.cpp b/src/main.cpp index 03da2cc..d6fb42e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -20,7 +20,7 @@ State* SER = sm.addState(&state_error); /*-------- Variables --------*/ // Convenience array of all UI LEDs -const int UI_LED_PINS[] = {LED_BUILTIN, BTN_LED_BLUE, BTN_LED_RED, BTN_LED_YELLOW, BTN_LED_GREEN}; +const int UI_LED_PINS[] = {LED_BUILTIN, BTN_LED_BLUE, BTN_LED_RED, BTN_LED_GREEN, BTN_LED_YELLOW}; #define N_LEDS (sizeof(UI_LED_PINS) / sizeof(UI_LED_PINS[0])) // Heartbeat blinker timer