From eef689b2e209dcf84c149ee4866c2a007676dc71 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Fri, 6 Feb 2026 16:46:28 +0530 Subject: Fix timer interrupt priority + refactor --- src/rtc.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/rtc.h (limited to 'src/rtc.h') diff --git a/src/rtc.h b/src/rtc.h new file mode 100644 index 0000000..f3f8f9c --- /dev/null +++ b/src/rtc.h @@ -0,0 +1,13 @@ +#ifndef _LOADED_RTC +#define _LOADED_RTC +#include + +volatile extern uint8_t seconds; +volatile extern uint8_t minutes; +volatile extern uint8_t hours; + +void rtc_setup(void); + +void rtc_increment(void); + +#endif -- cgit v1.3.1