Translate a zero byte in text mode to a space

master
Markus Koch 2018-01-13 09:49:06 +01:00
parent ac4d778679
commit 698ef7385f
1 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,9 @@ char hcs12ss59t_get_char(char c)
c += 16;
else if (c >= 'a' && c <= 'z')
c -= 80;
else if (c == 0) {
c = ' ' - 48;
}
else
c = 79;
return c;