mbed library sources. Supersedes mbed-src. Edited target satm32f446 for user USART3 pins
Fork of mbed-dev by
Diff: targets/TARGET_Maxim/TARGET_MAX32620/sleep.c
- Revision:
- 171:89b338f31ef1
- Parent:
- 160:d5399cc887bb
diff -r 19eb464bc2be -r 89b338f31ef1 targets/TARGET_Maxim/TARGET_MAX32620/sleep.c --- a/targets/TARGET_Maxim/TARGET_MAX32620/sleep.c Thu Aug 03 13:13:39 2017 +0100 +++ b/targets/TARGET_Maxim/TARGET_MAX32620/sleep.c Wed Aug 16 18:27:13 2017 +0100 @@ -115,7 +115,7 @@ // Deep Sleep is not working properly on Revisions A3 and earlier if (part_rev <= REVISION_A3) { - sleep(); + hal_sleep(); return; } @@ -128,7 +128,7 @@ // Do not enter Deep Sleep if connected to VBUS if (MXC_USB->dev_intfl & MXC_F_USB_DEV_INTFL_VBUS_ST) { __enable_irq(); - sleep(); + hal_sleep(); return; }