diff options
author | Joey Castillo <jose.castillo@gmail.com> | 2021-09-27 17:42:27 -0400 |
---|---|---|
committer | Joey Castillo <jose.castillo@gmail.com> | 2021-09-27 17:42:27 -0400 |
commit | a65dcf1ec8071878988d5aa0390c5be66ba52a11 (patch) | |
tree | af1e3a60b50f67160afbb5df0495ea4db3462d1d /watch-library/watch/watch_private.c | |
parent | 751ed9c7a48b78063a0ef2e1d7e79ed03f70560b (diff) | |
download | Sensor-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.c | 3 |
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; |