summaryrefslogtreecommitdiffstats
path: root/watch-library/watch/watch_private.c
diff options
context:
space:
mode:
authorJoey Castillo <jose.castillo@gmail.com>2021-09-27 17:42:27 -0400
committerJoey Castillo <jose.castillo@gmail.com>2021-09-27 17:42:27 -0400
commita65dcf1ec8071878988d5aa0390c5be66ba52a11 (patch)
treeaf1e3a60b50f67160afbb5df0495ea4db3462d1d /watch-library/watch/watch_private.c
parent751ed9c7a48b78063a0ef2e1d7e79ed03f70560b (diff)
downloadSensor-Watch-a65dcf1ec8071878988d5aa0390c5be66ba52a11.tar.gz
Sensor-Watch-a65dcf1ec8071878988d5aa0390c5be66ba52a11.tar.bz2
Sensor-Watch-a65dcf1ec8071878988d5aa0390c5be66ba52a11.zip
WIP: refactor RTC to use clock mode directly
Diffstat (limited to 'watch-library/watch/watch_private.c')
-rw-r--r--watch-library/watch/watch_private.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/watch-library/watch/watch_private.c b/watch-library/watch/watch_private.c
index bdf6b78a..dc70f4cb 100644
--- a/watch-library/watch/watch_private.c
+++ b/watch-library/watch/watch_private.c
@@ -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;