V3.0.0.BETA1

* bugfix
This commit is contained in:
bpohvoodoo
2019-09-29 13:40:31 +02:00
parent 341c469b49
commit bc783f774c
3 changed files with 11 additions and 6 deletions
+1 -1
View File
@@ -467,7 +467,7 @@ void handleSetWS2812FXMode(uint8_t * mypayload) {
mode = OFF;
}
if (strcmp((char *) &mypayload[1], "on") == 0) {
mode = HOLD;
mode = SET;
}
}
}
+8 -4
View File
@@ -231,6 +231,9 @@
DBG_OUTPUT_PORT.println(rgbcolor);
});
server.on("/get_modes", []() {
getModesJSON();
});
server.on("/status", []() {
getStatusJSON();
@@ -342,6 +345,11 @@
getStatusJSON();
});
server.on("/on", []() {
mode = SET;
getStatusJSON();
});
server.on("/set", []() {
prevmode = HOLD;
ws2812fx_mode = FX_MODE_STATIC;
@@ -349,7 +357,3 @@
getArgs();
getStatusJSON();
});
server.on("/get_modes", []() {
getModesJSON();
});
+1
View File
@@ -187,4 +187,5 @@
* 29 September 2019
* Version Bump to 3.0.0.BETA1
* further code changes
* bugfixes
*/