diff options
| author | Akshay Nair <phenax5@gmail.com> | 2026-03-01 10:35:53 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2026-03-01 10:35:53 +0530 |
| commit | 96b074de6104161c62e09b2b1a725316dbf1c5f3 (patch) | |
| tree | 0ff68fd7fdf611365a20f718664818f27437e630 /src/mode.c | |
| parent | 18268280dc6c0bd44035b53655ae43e9c88245bd (diff) | |
| download | daft-watch-96b074de6104161c62e09b2b1a725316dbf1c5f3.tar.gz daft-watch-96b074de6104161c62e09b2b1a725316dbf1c5f3.zip | |
Add tests for mode state
Diffstat (limited to 'src/mode.c')
| -rw-r--r-- | src/mode.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -34,6 +34,7 @@ void apply_button_state(enum ButtonState button_state) { new_minutes = minutes; new_hours = hours; current_digit_index = 0; + time_set_timeout_ticks = SET_MODE_TIMEOUT; current_mode = ModeSetTime; break; default: @@ -49,7 +50,7 @@ void apply_button_state(enum ButtonState button_state) { return; } } else { - time_set_timeout_ticks = 10 * 1024; + time_set_timeout_ticks = SET_MODE_TIMEOUT; } switch (button_state) { |
