Clean out a warning

in ultralcd_implementation_hitachi_HD44780.h lcd_print( about array index.
This commit is contained in:
AnHardt 2015-03-19 12:58:43 +01:00
parent e917477fec
commit eff6a2bd2e

View File

@ -414,7 +414,7 @@ char lcd_printPGM(const char* str) {
char lcd_print(char* str) { char lcd_print(char* str) {
char c; char c;
char i = 0; unsigned char i = 0;
char n = 0; char n = 0;
while((c = str[i++])) { while((c = str[i++])) {
n += charset_mapper(c); n += charset_mapper(c);