Browse Source

Merge pull request #3157 from esenapaj/patch-4

Use variable in lcd_erase_line()
Scott Lahteine 8 years ago
parent
commit
999a76dbdf
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