Update lcd.c

pull/7/head
Sylaina 6 years ago committed by GitHub
parent a036086139
commit f9b276eaf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -206,9 +206,10 @@ void lcd_putc(char c){
}
c -= ' ';
if (c >= pgm_read_byte(&special_char[0][1]) ) {
char temp = c;
c = 0xff;
for (uint8_t i=0; pgm_read_byte(&special_char[i][1]) != 0xff; i++) {
if ( pgm_read_byte(&special_char[i][0])-' ' == c ) {
if ( pgm_read_byte(&special_char[i][0])-' ' == temp ) {
c = pgm_read_byte(&special_char[i][1]);
}
}

Loading…
Cancel
Save