Browse Source

Use variable in lcd_erase_line()

lcd_erase_line() is called with argument, but the argument is ignored by lcd_erase_line().
esenapaj 8 years ago
parent
commit
a15c5d222a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/ultralcd_implementation_hitachi_HD44780.h

+ 1
- 1
Marlin/ultralcd_implementation_hitachi_HD44780.h View File

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

Loading…
Cancel
Save