4545

Dependents:   LSS_Rev_1

Fork of mbed-dev by Umar Naeem

Revision:
160:d5399cc887bb
Parent:
150:02e0a0aed4ec
--- 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;
 }