diff options
author | Joey Castillo <jose.castillo@gmail.com> | 2021-08-02 13:36:53 -0400 |
---|---|---|
committer | Joey Castillo <jose.castillo@gmail.com> | 2021-08-02 13:36:53 -0400 |
commit | 2d1e2e8c76623543817f4c62b26fc300c1fd0d2c (patch) | |
tree | 533c3e54397c492024563f27d3125c09e95b6f0c /Sensor Watch Starter Project/main.c | |
parent | 7e330befffdc2783207b83f12f30f328f5f3318d (diff) | |
download | Sensor-Watch-2d1e2e8c76623543817f4c62b26fc300c1fd0d2c.tar.gz Sensor-Watch-2d1e2e8c76623543817f4c62b26fc300c1fd0d2c.tar.bz2 Sensor-Watch-2d1e2e8c76623543817f4c62b26fc300c1fd0d2c.zip |
barebones 'hello world' project
Diffstat (limited to 'Sensor Watch Starter Project/main.c')
-rwxr-xr-x | Sensor Watch Starter Project/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Sensor Watch Starter Project/main.c b/Sensor Watch Starter Project/main.c index 052bbfa0..0d457b5f 100755 --- a/Sensor Watch Starter Project/main.c +++ b/Sensor Watch Starter Project/main.c @@ -85,7 +85,7 @@ void uart_puts(char *s) { //----------------------------------------------------------------------------- static void sys_init(void) { uart_puts("init_mcu\n"); - init_mcu(); + init_mcu(); uart_puts("watch_init\n"); watch_init(); uart_puts("app_init\n"); @@ -101,6 +101,7 @@ int main(void) { app_loop(); app_prepare_for_sleep(); sleep(4); + app_wake_from_sleep(); } return 0; |