4545
Fork of mbed-dev by
Diff: targets/TARGET_ARM_SSG/TARGET_BEETLE/sleep.c
- Revision:
- 160:d5399cc887bb
- Parent:
- 149:156823d33999
diff -r 612c381a210f -r d5399cc887bb targets/TARGET_ARM_SSG/TARGET_BEETLE/sleep.c --- a/targets/TARGET_ARM_SSG/TARGET_BEETLE/sleep.c Tue Feb 28 17:13:35 2017 +0000 +++ b/targets/TARGET_ARM_SSG/TARGET_BEETLE/sleep.c Tue Mar 14 16:40:56 2017 +0000 @@ -16,13 +16,13 @@ #include "sleep_api.h" #include "cmsis.h" - void sleep(void) + void hal_sleep(void) { SystemPowerSuspend(POWER_MODE_SLEEP); SystemPowerResume(POWER_MODE_SLEEP); } -void deepsleep(void) +void hal_deepsleep(void) { SystemPowerSuspend(POWER_MODE_DEEP_SLEEP); SystemPowerResume(POWER_MODE_DEEP_SLEEP);