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:
parent
2ef49a9d53
commit
a15c5d222a
1 changed files with 1 additions and 1 deletions
|
@ -420,7 +420,7 @@ unsigned lcd_print(char c) { return charset_mapper(c); }
|
|||
#if ENABLED(SHOW_BOOTSCREEN)
|
||||
|
||||
void lcd_erase_line(int line) {
|
||||
lcd.setCursor(0, 3);
|
||||
lcd.setCursor(0, line);
|
||||
for (int i = 0; i < LCD_WIDTH; i++)
|
||||
lcd_print(' ');
|
||||
}
|
||||
|
|
Reference in a new issue