aboutsummaryrefslogtreecommitdiff
path: root/src/rtc.c
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2026-02-08 16:18:49 +0530
committerAkshay Nair <phenax5@gmail.com>2026-02-08 16:18:49 +0530
commit20d86bf1e3dfdfb4c0a3ea557b54f0bea0f5c214 (patch)
tree86a7a23ac0b49bb9ff6d29f6c6f5e45209d42d94 /src/rtc.c
parenteef689b2e209dcf84c149ee4866c2a007676dc71 (diff)
downloaddaft-watch-20d86bf1e3dfdfb4c0a3ea557b54f0bea0f5c214.tar.gz
daft-watch-20d86bf1e3dfdfb4c0a3ea557b54f0bea0f5c214.zip
Handle button state
Diffstat (limited to 'src/rtc.c')
-rw-r--r--src/rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtc.c b/src/rtc.c
index 1ac50c3..053e651 100644
--- a/src/rtc.c
+++ b/src/rtc.c
@@ -19,7 +19,7 @@ void rtc_setup(void) {
TIMSK1 = (1 << OCIE1A); // Enable timer overflow interrupt
}
-volatile uint8_t seconds = 10;
+volatile uint8_t seconds = 0;
volatile uint8_t minutes = 0;
volatile uint8_t hours = 0;