mbed library sources. Supersedes mbed-src.

Dependents:   Hobbyking_Cheetah_Compact Hobbyking_Cheetah_Compact_DRV8323_14bit Hobbyking_Cheetah_Compact_DRV8323_V51_201907 HKC_MiniCheetah ... more

Fork of mbed-dev by mbed official

Revision:
160:d5399cc887bb
Parent:
149:156823d33999
Child:
171:89b338f31ef1
diff -r 612c381a210f -r d5399cc887bb targets/TARGET_Maxim/TARGET_MAX32620/sleep.c
--- a/targets/TARGET_Maxim/TARGET_MAX32620/sleep.c	Tue Feb 28 17:13:35 2017 +0000
+++ b/targets/TARGET_Maxim/TARGET_MAX32620/sleep.c	Tue Mar 14 16:40:56 2017 +0000
@@ -54,7 +54,7 @@
 static int restore_usb;
 static usb_state_t usb_state;
 
-void sleep(void)
+void hal_sleep(void)
 {
     // Normal sleep mode for ARM core
     SCB->SCR = 0;
@@ -109,7 +109,7 @@
 }
 
 // Low-power stop mode
-void deepsleep(void)
+void hal_deepsleep(void)
 {
     unsigned int part_rev = MXC_PWRMAN->mask_id0 & MXC_F_PWRMAN_MASK_ID0_REVISION_ID;