Skip to content

Commit

Permalink
fixed compile error #81
Browse files Browse the repository at this point in the history
  • Loading branch information
NimmLor committed Nov 20, 2020
1 parent f058eaf commit b4ce029
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions esp8266-fastled-iot-webserver.ino
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,9 @@ void setup() {

webServer.on("/pattern", HTTP_POST, []() {
String value = webServer.arg("value");
#if DEVICE_TYPE == 2
switchedTimePattern = true;
#endif
setPattern(value.toInt());
sendInt(currentPatternIndex);
});
Expand Down

0 comments on commit b4ce029

Please sign in to comment.