summaryrefslogtreecommitdiffstats
path: root/watch-library/main.c
diff options
context:
space:
mode:
authorJoey Castillo <jose.castillo@gmail.com>2021-08-08 15:01:44 -0400
committerJoey Castillo <jose.castillo@gmail.com>2021-08-08 15:02:04 -0400
commit27edc50be1326934a0a352fa0474e8715ed83f98 (patch)
treeff1bccfd0927b1af8e0dcc7f47caf99670fee38f /watch-library/main.c
parente491db84ba898730dd568b872ec69037821d0c22 (diff)
downloadSensor-Watch-27edc50be1326934a0a352fa0474e8715ed83f98.tar.gz
Sensor-Watch-27edc50be1326934a0a352fa0474e8715ed83f98.tar.bz2
Sensor-Watch-27edc50be1326934a0a352fa0474e8715ed83f98.zip
fix renaming of _watch_rtc_is_enabled
Diffstat (limited to 'watch-library/main.c')
-rwxr-xr-xwatch-library/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/watch-library/main.c b/watch-library/main.c
index dd0822ad..51cae449 100755
--- a/watch-library/main.c
+++ b/watch-library/main.c
@@ -90,7 +90,7 @@ int main(void) {
// If the RTC is already enabled, we're either waking from BACKUP mode or a reset.
// Ideally we should check if the TAMPER or CMP0 (alarm) flags are set.
- if (watch_rtc_is_enabled()) {
+ if (_watch_rtc_is_enabled()) {
// User code. Give the application a chance to restore state from backup registers.
app_wake_from_deep_sleep();