Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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
