mirror of
https://github.com/gunner47/GyverLamp.git
synced 2025-08-08 09:20:59 +03:00
Исправлено выключение будильника, если он сработал при выключенной матрице
This commit is contained in:
@@ -45,7 +45,7 @@ void parseUDP()
|
||||
Serial.printf("New brightness value: %d\n", inputBuffer.substring(3).toInt());
|
||||
#endif
|
||||
|
||||
modes[currentMode].brightness = constrain(inputBuffer.substring(3).toInt(), 0, 255);
|
||||
modes[currentMode].brightness = constrain(inputBuffer.substring(3).toInt(), 1, 255);
|
||||
FastLED.setBrightness(modes[currentMode].brightness);
|
||||
settChanged = true;
|
||||
eepromTimer = millis();
|
||||
|
Reference in New Issue
Block a user