Use variable in lcd_erase_line()

lcd_erase_line() is called with argument, but the argument is ignored by lcd_erase_line().
This commit is contained in:
esenapaj 2016-03-16 02:59:06 +09:00
parent 2ef49a9d53
commit a15c5d222a

View file

@ -420,7 +420,7 @@ unsigned lcd_print(char c) { return charset_mapper(c); }
#if ENABLED(SHOW_BOOTSCREEN) #if ENABLED(SHOW_BOOTSCREEN)
void lcd_erase_line(int line) { void lcd_erase_line(int line) {
lcd.setCursor(0, 3); lcd.setCursor(0, line);
for (int i = 0; i < LCD_WIDTH; i++) for (int i = 0; i < LCD_WIDTH; i++)
lcd_print(' '); lcd_print(' ');
} }