Dmitry Kovalev
/
LGfiltr
forkd
Fork of LGstaandart by
Diff: uart_m.c
- Revision:
- 205:775d54fdf646
- Parent:
- 193:a0fe8bfc97e4
- Child:
- 208:19150d2b528f
--- a/uart_m.c Fri Nov 25 06:22:37 2016 +0000 +++ b/uart_m.c Mon Dec 19 14:08:31 2016 +0000 @@ -468,7 +468,7 @@ } if (LPC_UART1->LSR & 0x01) - {//LoopOn + { ConInCur1++; ConInCur1 = ConInCur1 & 0x3ff; InCon1[ConInCur1] = (LPC_UART1->RBR); @@ -602,16 +602,18 @@ void WriteConN (char *s, unsigned int N) { OutBufCon1Count = 0; - + LoopOn while (N != 0) { N--; ConOutPnt1++; ConOutPnt1 = ConOutPnt1 & 0x3ff; OutCon1[ConOutPnt1] = (*s++); + } Time_UART=Gyro.DropDelayGLD; OutBufCon1Count = 100; + LoopOff }