mbed library sources. Supersedes mbed-src.
Fork of mbed-dev by
Diff: targets/TARGET_ONSEMI/TARGET_NCS36510/sleep_api.c
- Revision:
- 160:d5399cc887bb
- Parent:
- 150:02e0a0aed4ec
diff -r 612c381a210f -r d5399cc887bb targets/TARGET_ONSEMI/TARGET_NCS36510/sleep_api.c --- a/targets/TARGET_ONSEMI/TARGET_NCS36510/sleep_api.c Tue Feb 28 17:13:35 2017 +0000 +++ b/targets/TARGET_ONSEMI/TARGET_NCS36510/sleep_api.c Tue Mar 14 16:40:56 2017 +0000 @@ -33,18 +33,19 @@ */ #if DEVICE_SLEEP -#include "sleep.h" + +#include "fncs36510_sleep.h" #include "sleep_api.h" #include "cmsis_nvic.h" -void sleep() +void hal_sleep() { fncs36510_sleep(); } -void deepsleep() +void hal_deepsleep() { fncs36510_deepsleep(); } -#endif /* DEVICE_SLEEP */ \ No newline at end of file +#endif /* DEVICE_SLEEP */