fix for LCD row tracking, fix for "phantom" keypress at powerup

This commit is contained in:
Jeff Wang
2019-04-04 03:01:21 -04:00
parent 4734fe5a0e
commit 240dd570ae
4 changed files with 7 additions and 4 deletions

View File

@ -224,7 +224,7 @@ short TERMIO_PutChar(unsigned char letter) {
} else {
LCD_OutChar(letter);
col++;
if (col > MAX_CHARS_PER_LINE) {
if (col >= MAX_CHARS_PER_LINE) {
if (row == 0) {
to_row(1);
} else {