![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
fork
Fork of LG by
Diff: uart_m.c
- Revision:
- 188:4c523cc373cc
- Parent:
- 181:0b022246c43c
- Child:
- 193:a0fe8bfc97e4
--- a/uart_m.c Mon Aug 01 14:03:08 2016 +0000 +++ b/uart_m.c Fri Aug 19 14:02:02 2016 +0000 @@ -451,7 +451,7 @@ { //if (OutBufCon1Count == 0) if (Time_UART == 0) - { + {//LoopOn if (ConOutPnt1 != ConOutCur1) if (LPC_UART1->LSR & 0x20) { @@ -470,7 +470,7 @@ Gyro.PinReg |= PinRegBitTXE; } if (LPC_UART1->LSR & 0x01) - { + {LoopOn ConInCur1++; ConInCur1 = ConInCur1 & 0x3ff; InCon1[ConInCur1] = (LPC_UART1->RBR);