mbed library sources. Supersedes mbed-src.
Fork of mbed-dev by
Diff: targets/TARGET_Maxim/TARGET_MAX32630/sleep.c
- Revision:
- 163:74e0ce7f98e8
- Parent:
- 157:ff67d9f36b67
diff -r e13f6fdb2ac4 -r 74e0ce7f98e8 targets/TARGET_Maxim/TARGET_MAX32630/sleep.c --- a/targets/TARGET_Maxim/TARGET_MAX32630/sleep.c Wed Apr 12 16:21:43 2017 +0100 +++ b/targets/TARGET_Maxim/TARGET_MAX32630/sleep.c Fri Apr 28 14:04:18 2017 +0100 @@ -34,13 +34,13 @@ #include "sleep_api.h" #include "lp.h" -void sleep(void) +void hal_sleep(void) { LP_EnterLP2(); } // Low-power stop mode -void deepsleep(void) +void hal_deepsleep(void) { - sleep(); + hal_sleep(); }