Fix timesel.c

This commit is contained in:
Alexander Rosenberg 2024-04-11 19:32:19 -07:00
parent 9b89fc5c94
commit 1c2a99a865
Signed by: school-rpi4
GPG Key ID: 5CCFC80B0B47B04B

View File

@ -171,6 +171,7 @@ TimeSelState time_sel_dispatch(TimeSelection *ts, SensorState *state,
void time_sel_reset(TimeSelection *ts) { void time_sel_reset(TimeSelection *ts) {
ts->hour = 0; ts->hour = 0;
ts->minute = 0; ts->minute = 0;
ts->second = 0;
ts->stage = TS_STAGE_HOUR; ts->stage = TS_STAGE_HOUR;
} }