diff --git a/targets/TARGET_ONSEMI/TARGET_NCS36510/sleep.h b/targets/TARGET_ONSEMI/TARGET_NCS36510/fncs36510_sleep.h similarity index 100% rename from targets/TARGET_ONSEMI/TARGET_NCS36510/sleep.h rename to targets/TARGET_ONSEMI/TARGET_NCS36510/fncs36510_sleep.h diff --git a/targets/TARGET_ONSEMI/TARGET_NCS36510/sleep_api.c b/targets/TARGET_ONSEMI/TARGET_NCS36510/sleep_api.c index dd6680cc56..1ed5e18292 100644 --- a/targets/TARGET_ONSEMI/TARGET_NCS36510/sleep_api.c +++ b/targets/TARGET_ONSEMI/TARGET_NCS36510/sleep_api.c @@ -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 */