Dmitry Kovalev
/
LGfiltr
forkd
Fork of LGstaandart by
Diff: uart_m.c
- Revision:
- 209:224e7331a061
- Parent:
- 208:19150d2b528f
- Child:
- 213:9953db9543d6
--- a/uart_m.c Tue Feb 07 10:11:35 2017 +0000 +++ b/uart_m.c Thu Apr 13 14:14:45 2017 +0000 @@ -453,11 +453,13 @@ if (Time_UART == 0) { if (ConOutPnt1 != ConOutCur1) - if (LPC_UART1->LSR & 0x20) { + if (LPC_UART1->LSR & 0x20) + { ConOutCur1++; ConOutCur1 = ConOutCur1 & 0x3ff; LPC_UART1->THR = OutCon1[ConOutCur1]; + } } if (!(LPC_UART1->LSR & 0x40)) Gyro.PinReg |= PinRegBitTXE; else Gyro.PinReg &= ~PinRegBitTXE; }