summaryrefslogtreecommitdiffstats
path: root/Smol Watch Project/My Project/sleep_manager_main.c
diff options
context:
space:
mode:
authorJoey Castillo <jose.castillo@gmail.com>2021-05-02 13:07:51 -0400
committerJoey Castillo <jose.castillo@gmail.com>2021-05-02 13:07:51 -0400
commit9b381ef6ae36844e32452047b05b01f15893a2dc (patch)
tree8394c04b96f625dec258385c529f9aeae03d7483 /Smol Watch Project/My Project/sleep_manager_main.c
parent68bada3006a627e704680c0161f597e585b37e7f (diff)
downloadSensor-Watch-9b381ef6ae36844e32452047b05b01f15893a2dc.tar.gz
Sensor-Watch-9b381ef6ae36844e32452047b05b01f15893a2dc.tar.bz2
Sensor-Watch-9b381ef6ae36844e32452047b05b01f15893a2dc.zip
WIP timer wakeup stuff
Diffstat (limited to 'Smol Watch Project/My Project/sleep_manager_main.c')
-rw-r--r--Smol Watch Project/My Project/sleep_manager_main.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/Smol Watch Project/My Project/sleep_manager_main.c b/Smol Watch Project/My Project/sleep_manager_main.c
deleted file mode 100644
index 2ffade91..00000000
--- a/Smol Watch Project/My Project/sleep_manager_main.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Code generated from Atmel Start.
- *
- * This file will be overwritten when reconfiguring your Atmel Start project.
- * Please copy examples or other code you want to keep to a separate file or main.c
- * to avoid loosing it when reconfiguring.
- */
-#include "atmel_start.h"
-#include "sleep_manager_main.h"
-
-static struct sleepmgr_ready_to_sleep_cb sleepmgr_cb;
-
-static void sleep_cb(struct sleepmgr_ready_to_sleep *const ready)
-{
- ready->ready = false;
-}
-
-void sleep_manager_init(void)
-{
- sleepmgr_init();
-
- sleepmgr_cb.cb = sleep_cb;
- sleepmgr_register_ready_to_sleep_callback(&sleepmgr_cb);
-}