aboutsummaryrefslogtreecommitdiffstats
path: root/init.hpp
diff options
context:
space:
mode:
authorConfuSomu2021-03-02 21:24:15 -0500
committerConfuSomu2021-03-02 22:51:55 -0500
commiteb01ae68e4ffc5850b1b1182844ae4e60611fe0e (patch)
treef8454457238dc8d318dd5f8d19823e6882fa2d28 /init.hpp
parenta304e37c5fb70bb465165105f484a9b2f2c5393f (diff)
downloadpico-watch-eb01ae68e4ffc5850b1b1182844ae4e60611fe0e.tar
pico-watch-eb01ae68e4ffc5850b1b1182844ae4e60611fe0e.tar.gz
pico-watch-eb01ae68e4ffc5850b1b1182844ae4e60611fe0e.zip
Enter shallow sleep when there are no interactions
Current app stops getting refreshed and display is turned off.
Diffstat (limited to 'init.hpp')
-rw-r--r--init.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.hpp b/init.hpp
index fc2a53f..59ed455 100644
--- a/init.hpp
+++ b/init.hpp
@@ -19,6 +19,9 @@
#define INIT_DATETIME_MIN 45
#define INIT_DATETIME_SEC 00
+// Time (ms) before entering sleep
+#define ENTER_SLEEP_DELAY 10000
+
// Init every componement
void init_all();