File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -961,6 +961,7 @@ void handleCommand() {
961961 logger.logString (" Nightmode starts at: " + String (nightModeStartHour) + " :" + String (nightModeStartMin));
962962 logger.logString (" Nightmode ends at: " + String (nightModeEndHour) + " :" + String (nightModeEndMin));
963963 logger.logString (" Brightness: " + String (brightness));
964+ logger.logString (" ColorShiftSpeed: " + String (dynColorShiftSpeed));
964965 ledmatrix.setBrightness (brightness);
965966 lastNightmodeCheck = millis () - PERIOD_NIGHTMODECHECK;
966967 }
@@ -1052,6 +1053,8 @@ void handleCommand() {
10521053 String str = server.arg (0 );
10531054 if (str == " 1" ) dynColorShiftActive = true ;
10541055 else dynColorShiftActive = false ;
1056+ EEPROM.write (ADR_COLSHIFTACTIVE, dynColorShiftActive);
1057+ EEPROM.commit ();
10551058 }
10561059 server.send (204 , " text/plain" , " No Content" ); // this page doesn't send back content --> 204
10571060}
You can’t perform that action at this time.
0 commit comments