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.h | |
| parent | 18268280dc6c0bd44035b53655ae43e9c88245bd (diff) | |
| download | daft-watch-96b074de6104161c62e09b2b1a725316dbf1c5f3.tar.gz daft-watch-96b074de6104161c62e09b2b1a725316dbf1c5f3.zip | |
Add tests for mode state
Diffstat (limited to 'src/mode.h')
| -rw-r--r-- | src/mode.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -6,6 +6,8 @@ enum Mode { ModeSetTime, }; +#define SET_MODE_TIMEOUT 1000 + enum ButtonState { ButtonIdle = 0, ButtonActive = 1, @@ -19,4 +21,8 @@ extern volatile uint8_t new_hours; void apply_button_state(enum ButtonState button_state); +// Just for tests +extern volatile uint8_t current_digit_index; +extern volatile uint16_t time_set_timeout_ticks; + #endif |
