aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 6f621af..11ad99f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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(); }