mbed library sources
Fork of mbed-src by
Diff: targets/hal/TARGET_NXP/TARGET_LPC176X/sleep.c
- Revision:
- 75:af844aac7b8c
- Parent:
- 13:0645d8841f51
--- a/targets/hal/TARGET_NXP/TARGET_LPC176X/sleep.c Tue Jan 14 22:15:04 2014 +0000 +++ b/targets/hal/TARGET_NXP/TARGET_LPC176X/sleep.c Fri Jan 17 03:18:47 2014 +0000 @@ -17,6 +17,10 @@ #include "cmsis.h" #include "mbed_interface.h" +#if (DEVICE_SEMIHOST == 0) +#define mbed_interface_disconnect() +#endif + void sleep(void) { // ensure debug is disconnected mbed_interface_disconnect();