Use variable in lcd_erase_line()

lcd_erase_line() is called with argument, but the argument is ignored by lcd_erase_line().
master
esenapaj 9 years ago
parent 2ef49a9d53
commit a15c5d222a

@ -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(' ');
} }

Loading…
Cancel
Save