kjj
Dependencies: mbed-rtos mbed Xbus
Fork of MTi-1_example by
Revision 55:9a2d6f947f0d, committed 2015-05-26
- Comitter:
- Alex Young
- Date:
- Tue May 26 09:40:00 2015 +0200
- Parent:
- 54:2e9bb1390c9c
- Child:
- 56:041d3d9c300a
- Commit message:
- Only need to use 1 stop bit for UARTS.
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri May 22 16:20:29 2015 +0200
+++ b/main.cpp Tue May 26 09:40:00 2015 +0200
@@ -316,10 +316,10 @@
static void configureSerialPorts(void)
{
pc.baud(PC_UART_BAUDRATE);
- pc.format(8, Serial::None, 2);
+ pc.format(8, Serial::None, 1);
mt.baud(115200);
- mt.format(8, Serial::None, 2);
+ mt.format(8, Serial::None, 1);
mt.attach(mtLowLevelHandler, Serial::RxIrq);
}
