diff options
author | Joey Castillo <jose.castillo@gmail.com> | 2021-09-18 12:57:21 -0400 |
---|---|---|
committer | Joey Castillo <jose.castillo@gmail.com> | 2021-09-18 14:50:20 -0400 |
commit | 5ff4a88374986f3e74dd17f2c17b8532c88debb1 (patch) | |
tree | 9fe6ce15403b5c53b1c7b3605067628799681b0a /watch-library/main.c | |
parent | d97e74058f8b6a1c69d1da1c08176cb52ab2db24 (diff) | |
download | Sensor-Watch-5ff4a88374986f3e74dd17f2c17b8532c88debb1.tar.gz Sensor-Watch-5ff4a88374986f3e74dd17f2c17b8532c88debb1.tar.bz2 Sensor-Watch-5ff4a88374986f3e74dd17f2c17b8532c88debb1.zip |
add a new deep sleep mode alongside backup mode
Diffstat (limited to 'watch-library/main.c')
-rwxr-xr-x | watch-library/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/watch-library/main.c b/watch-library/main.c index c9f24150..db602a34 100755 --- a/watch-library/main.c +++ b/watch-library/main.c @@ -47,6 +47,9 @@ int main(void) { } watch_disable_digital_input(VBUS_DET); + // initialize the delay driver before any user code is called. + delay_driver_init(); + // User code. Give the app a chance to initialize its data structures and state. app_init(); |