WIP: refactor RTC to use clock mode directly

This commit is contained in:
Joey Castillo
2021-09-27 17:42:27 -04:00
parent 751ed9c7a4
commit a65dcf1ec8
8 changed files with 228 additions and 122 deletions

View File

@@ -56,8 +56,7 @@ void _watch_init() {
SUPC->BOD33.bit.ENABLE = 1;
// External wake depends on RTC; calendar is a required module.
CALENDAR_0_init();
calendar_enable(&CALENDAR_0);
_watch_rtc_init();
// set up state
btn_alarm_callback = NULL;