Merge pull request #3157 from esenapaj/patch-4
Use variable in lcd_erase_line()
This commit is contained in:
commit
999a76dbdf
@ -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…
Reference in New Issue
Block a user