diff options
| author | Akshay Nair <phenax5@gmail.com> | 2026-02-06 16:46:28 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2026-02-07 17:53:19 +0530 |
| commit | eef689b2e209dcf84c149ee4866c2a007676dc71 (patch) | |
| tree | c814443ad4b19bebe8396d645520ce3db50bc04b /src/display.h | |
| parent | d544925cf75a05b681cadfc11b7d8a2d98de6679 (diff) | |
| download | daft-watch-eef689b2e209dcf84c149ee4866c2a007676dc71.tar.gz daft-watch-eef689b2e209dcf84c149ee4866c2a007676dc71.zip | |
Fix timer interrupt priority + refactor
Diffstat (limited to 'src/display.h')
| -rw-r--r-- | src/display.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/display.h b/src/display.h index 167374a..34a065d 100644 --- a/src/display.h +++ b/src/display.h @@ -2,10 +2,14 @@ #define _LOADED_DISPLAY #include <stdint.h> -void setup_display(); +volatile extern uint8_t current_digit; + +void display_setup(void); void write_digit(uint8_t digit); void write_time(uint16_t hour, uint16_t minute, uint8_t digit_mask); -#endif +void display_render(void); + +#endif
\ No newline at end of file |
