mbed library sources. Supersedes mbed-src.

Fork of mbed-dev by Umar Naeem

Revision:
160:d5399cc887bb
Parent:
149:156823d33999
diff -r 612c381a210f -r d5399cc887bb targets/TARGET_NXP/TARGET_LPC176X/sleep.c
--- a/targets/TARGET_NXP/TARGET_LPC176X/sleep.c	Tue Feb 28 17:13:35 2017 +0000
+++ b/targets/TARGET_NXP/TARGET_LPC176X/sleep.c	Tue Mar 14 16:40:56 2017 +0000
@@ -17,7 +17,7 @@
 #include "cmsis.h"
 #include "mbed_interface.h"
 
-void sleep(void) {
+void hal_sleep(void) {
 
 #if (DEVICE_SEMIHOST == 1)
     // ensure debug is disconnected
@@ -60,7 +60,7 @@
 *       We treat a deepsleep() as a normal sleep().
 */
 
-void deepsleep(void) {
+void hal_deepsleep(void) {
 
 #if (DEVICE_SEMIHOST == 1)
     // ensure debug is disconnected
@@ -68,5 +68,5 @@
 #endif
     
     // PCON[PD] set to deepsleep
-    sleep();
+    hal_sleep();
 }