t

Fork of mbed-dev by mbed official

Revision:
160:d5399cc887bb
Parent:
159:612c381a210f
Child:
176:447f873cad2f
diff -r 612c381a210f -r d5399cc887bb targets/TARGET_NUVOTON/TARGET_NUC472/sleep.c
--- a/targets/TARGET_NUVOTON/TARGET_NUC472/sleep.c	Tue Feb 28 17:13:35 2017 +0000
+++ b/targets/TARGET_NUVOTON/TARGET_NUC472/sleep.c	Tue Mar 14 16:40:56 2017 +0000
@@ -36,7 +36,7 @@
 /**
  * Enter Idle mode.
  */
-void sleep(void)
+void hal_sleep(void)
 {
     struct sleep_s sleep_obj;
     sleep_obj.powerdown = 0;
@@ -47,7 +47,7 @@
 /**
  * Enter Power-down mode while no peripheral is active; otherwise, enter Idle mode.
  */
-void deepsleep(void)
+void hal_deepsleep(void)
 {
     struct sleep_s sleep_obj;
     sleep_obj.powerdown = 1;