summaryrefslogtreecommitdiffstats
path: root/watch-library/hardware/watch/watch_deepsleep.c
diff options
context:
space:
mode:
authorJoey Castillo <joeycastillo@utexas.edu>2022-04-10 15:56:45 -0400
committerJoey Castillo <joeycastillo@utexas.edu>2022-04-10 15:56:45 -0400
commit6bdaff5d2abaeb614e98de2c9e5d0a02b439fa8f (patch)
tree40d44f526133511aec46dd83da4c66421e3d19bf /watch-library/hardware/watch/watch_deepsleep.c
parent35172ce11a184daf409f8d6c03c6844cc5382b71 (diff)
downloadSensor-Watch-6bdaff5d2abaeb614e98de2c9e5d0a02b439fa8f.tar.gz
Sensor-Watch-6bdaff5d2abaeb614e98de2c9e5d0a02b439fa8f.tar.bz2
Sensor-Watch-6bdaff5d2abaeb614e98de2c9e5d0a02b439fa8f.zip
remove all deprecated functions
Diffstat (limited to 'watch-library/hardware/watch/watch_deepsleep.c')
-rw-r--r--watch-library/hardware/watch/watch_deepsleep.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/watch-library/hardware/watch/watch_deepsleep.c b/watch-library/hardware/watch/watch_deepsleep.c
index b1b5b2c9..ae2ad31d 100644
--- a/watch-library/hardware/watch/watch_deepsleep.c
+++ b/watch-library/hardware/watch/watch_deepsleep.c
@@ -192,15 +192,3 @@ void watch_enter_backup_mode(void) {
// go into backup sleep mode (5). when we exit, the reset controller will take over.
sleep(5);
}
-
-// deprecated
-void watch_enter_shallow_sleep(bool display_on) {
- if (display_on) watch_enter_sleep_mode();
- else watch_enter_deep_sleep_mode();
-}
-
-// deprecated
-void watch_enter_deep_sleep(void) {
- watch_register_extwake_callback(BTN_ALARM, NULL, true);
- watch_enter_backup_mode();
-}