Skip to content

Commit

Permalink
Updated default behavior of changes to brighness settings. Changes wi…
Browse files Browse the repository at this point in the history
…ll apply with immediate effect.
  • Loading branch information
dbambus committed Dec 15, 2022
1 parent fde25f9 commit d39b26f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/Wortuhr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -736,10 +736,6 @@ void loop() {

case COMMAND_SET_TIME: // Uhrzeit setzen
case COMMAND_SET_INITIAL_VALUES: // Startwerte speichern
case COMMAND_SET_BRIGHTNESS: // Helligkeit speichern
case COMMAND_SET_MINUTE: // Anzeige Minuten speichern
case COMMAND_SET_LDR: // LDR Einstellung speichern
case COMMAND_SET_AUTO_LDR: // Auto LDR Parameter speichern
case COMMAND_SET_WEATHER_DATA: // OpenWeathermap Einstellung speichern
case COMMAND_SET_MARQUEE_TEXT: // Lauftext speichern
case COMMAND_SET_BOOT: // Bootoptionen speichern
Expand All @@ -750,12 +746,17 @@ void loop() {
break;
}

case COMMAND_SET_MINUTE: // Anzeige Minuten speichern
case COMMAND_SET_BRIGHTNESS: // Helligkeit speichern
case COMMAND_SET_LDR: // LDR Einstellung speichern
case COMMAND_SET_AUTO_LDR: // Auto LDR Parameter speichern
case COMMAND_SET_LANGUAGE_VARIANT: // Sprachvarianten Einstellungen
case COMMAND_SET_SETTING_SECOND: // Anzeige Sekunde speichern
case COMMAND_SET_TIME_MANUAL: // Uhrzeit manuell einstellen
{
eeprom_write();
led_clear();
parameters_changed = true;
G.prog = COMMAND_MODE_WORD_CLOCK;
G.conf = COMMAND_IDLE;
break;
Expand Down

0 comments on commit d39b26f

Please sign in to comment.