diff options
| author | Akshay Nair <phenax5@gmail.com> | 2026-02-15 17:46:03 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2026-02-15 17:46:03 +0530 |
| commit | ffadf36040d103ed62c5e7281bdeb8ceedab7a8d (patch) | |
| tree | 4ca5150d0c1a5b424e4dfeb52c817f894838b1a0 /src/main.c | |
| parent | 5cf1cbef201178ff53e663e16c81d7dd955266a4 (diff) | |
| download | daft-watch-ffadf36040d103ed62c5e7281bdeb8ceedab7a8d.tar.gz daft-watch-ffadf36040d103ed62c5e7281bdeb8ceedab7a8d.zip | |
Add the other digits and refactor the fancy 2 pin hack
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -19,7 +19,10 @@ FUSES = { // Display interrupt // Timer 0 has lower priority than timer 1, so some ticks could get skipped on // interrupt starvation -ISR(TIM0_COMPA_vect, ISR_FLATTEN) { display_render(); } +ISR(TIM0_COMPA_vect, ISR_FLATTEN) { + // button_tick(); // Check button click + display_render(); +} // RTC interrupt ISR(TIM1_COMPA_vect, ISR_FLATTEN) { rtc_increment(); } |
