123
Fork of LG by
Diff: uart_m.c
- Revision:
- 93:b3803774f110
- Parent:
- 92:c892f0311aa7
- Child:
- 117:eefe61968528
--- a/uart_m.c Fri Mar 25 11:11:46 2016 +0000 +++ b/uart_m.c Fri Mar 25 14:10:50 2016 +0000 @@ -608,6 +608,20 @@ void WriteConN (char *s, unsigned int N) { + OutBufCon1Count = 0; + while (N != 0) + { + N--; + ConOutPnt1++; + ConOutPnt1 = ConOutPnt1 & 0x3ff; + OutCon1[ConOutPnt1] = (*s++); + } + OutBufCon1Count = 10; +} + + +void WriteCon0N (char *s, unsigned int N) +{ OutBufConCount = 0; while (N != 0) { @@ -620,8 +634,6 @@ } - - void WriteCon2 (char *s) { OutBufCon2Count = 0;