From 20dd058162dad9fdae36ebaeee4da4b51f936f0b Mon Sep 17 00:00:00 2001 From: Hary Ayala Date: Sat, 11 Apr 2020 00:43:38 -0600 Subject: [PATCH] Changing Index based selection on solid color pattern for name based one. --- esp8266-nanoleaf-webserver.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp8266-nanoleaf-webserver.ino b/esp8266-nanoleaf-webserver.ino index b79f626..a494a34 100644 --- a/esp8266-nanoleaf-webserver.ino +++ b/esp8266-nanoleaf-webserver.ino @@ -826,7 +826,7 @@ void setSolidColor(uint8_t r, uint8_t g, uint8_t b) EEPROM.write(4, b); EEPROM.commit(); - setPattern(29); + setPatternName("Solid Color"); broadcastString("color", String(solidColor.r) + "," + String(solidColor.g) + "," + String(solidColor.b)); FastLED.show();