diff --git a/targets/TARGET_Maxim/TARGET_MAX32630/sleep.c b/targets/TARGET_Maxim/TARGET_MAX32630/sleep.c index 560a440929..3984b4aca3 100644 --- a/targets/TARGET_Maxim/TARGET_MAX32630/sleep.c +++ b/targets/TARGET_Maxim/TARGET_MAX32630/sleep.c @@ -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(); }