mbed library sources. Supersedes mbed-src.
Fork of mbed-dev by
Diff: targets/TARGET_NORDIC/TARGET_NRF5/sleep.c
- Revision:
- 160:d5399cc887bb
- Parent:
- 150:02e0a0aed4ec
diff -r 612c381a210f -r d5399cc887bb targets/TARGET_NORDIC/TARGET_NRF5/sleep.c --- a/targets/TARGET_NORDIC/TARGET_NRF5/sleep.c Tue Feb 28 17:13:35 2017 +0000 +++ b/targets/TARGET_NORDIC/TARGET_NRF5/sleep.c Tue Mar 14 16:40:56 2017 +0000 @@ -25,7 +25,7 @@ #define FPU_EXCEPTION_MASK 0x0000009F -void sleep(void) +void hal_sleep(void) { // ensure debug is disconnected if semihost is enabled.... @@ -73,8 +73,8 @@ } } -void deepsleep(void) +void hal_deepsleep(void) { - sleep(); + hal_sleep(); // NRF_POWER->SYSTEMOFF=1; }