Skip to content

Commit 3b726af

Browse files
fix: change duration to milliseconds
1 parent 8bd049b commit 3b726af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wordclock_esp8266.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ bool dynColorShiftActive = false; // stores if dynamic color shift
197197
uint8_t dynColorShiftPhase = 0; // stores the phase of the dynamic color shift
198198
uint8_t dynColorShiftSpeed = 1; // stores the speed of the dynamic color shift -> used to calc update period
199199
bool hourAnimation = false; // stores if the hour animation is active
200-
uint8_t hourAnimationDuration = 18000; // stores the duration of the hour animation in seconds
200+
uint32_t hourAnimationDuration = 18000; // stores the duration of the hour animation in seconds
201201

202202
// nightmode settings
203203
uint8_t nightModeStartHour = 22;

0 commit comments

Comments
 (0)