From 5ff4a88374986f3e74dd17f2c17b8532c88debb1 Mon Sep 17 00:00:00 2001 From: Joey Castillo <jose.castillo@gmail.com> Date: Sat, 18 Sep 2021 12:57:21 -0400 Subject: add a new deep sleep mode alongside backup mode --- watch-library/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'watch-library/main.c') 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(); -- cgit v1.2.3