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 DMX by
Diff: DMX.cpp
- Revision:
- 21:59c200304b47
- Parent:
- 20:b1942f266f49
--- a/DMX.cpp Thu Mar 26 17:11:02 2015 +0000
+++ b/DMX.cpp Fri Mar 27 17:51:07 2015 +0000
@@ -197,7 +197,7 @@
/// looking for (7)erroneous data,(3) Framming Error, (4) Break
tmp1 = (_uart->S1 & (UART_S1_NF_MASK|UART_S1_FE_MASK)); // NF,FE
tmp2 = (_uart->S2 & UART_S2_LBKDIF_MASK); //LBKDIF
- flg = (tmp1<<1) | tmp2;
+ flg = (tmp1<<2) | tmp2;
#else
flg = _uart->LSR;
#endif
