mbed library sources modified for open wear
Dependents: openwear-lifelogger-example
Fork of mbed-src by
Diff: targets/hal/TARGET_NXP/TARGET_LPC11UXX/serial_api.c
- Revision:
- 59:ef93cc6bbf65
- Parent:
- 51:7838415c99e7
- Child:
- 140:ca60b7a31055
--- a/targets/hal/TARGET_NXP/TARGET_LPC11UXX/serial_api.c Fri Dec 13 09:30:05 2013 +0000 +++ b/targets/hal/TARGET_NXP/TARGET_LPC11UXX/serial_api.c Mon Dec 16 09:15:05 2013 +0000 @@ -63,9 +63,11 @@ // [TODO] Consider more elegant approach // disconnect USBTX/RX mapping mux, for case when switching ports +#ifdef USBTX pin_function(USBTX, 0); pin_function(USBRX, 0); - +#endif + // enable fifos and default rx trigger level obj->uart->FCR = 1 << 0 // FIFO Enable - 0 = Disables, 1 = Enabled | 0 << 1 // Rx Fifo Reset