From 99394f86725eeb0b0403eda808077d0428b4e763 Mon Sep 17 00:00:00 2001 From: sehraf Date: Mon, 16 Dec 2019 18:28:21 +0100 Subject: [PATCH] fix #if block missing the last line Causes compiling error when ENABLE_LEGACY_ANIMATIONS is not enabled. --- Arduino/McLighting/request_handlers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Arduino/McLighting/request_handlers.h b/Arduino/McLighting/request_handlers.h index b7b0a8a..1cc3495 100644 --- a/Arduino/McLighting/request_handlers.h +++ b/Arduino/McLighting/request_handlers.h @@ -521,8 +521,8 @@ void handleSetNamedMode(uint8_t * mypayload) { ws2812fx_mode = FX_MODE_THEATER_CHASE_RAINBOW; mode = SET_MODE; } -#endif } +#endif void handleSetWS2812FXMode(uint8_t * mypayload) { if (isDigit(mypayload[1])) {