Browse Source

Fix scrolling lcd message for DOGM

Scott Lahteine 7 years ago
parent
commit
499d5c3b24
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/ultralcd_impl_DOGM.h

+ 2
- 2
Marlin/ultralcd_impl_DOGM.h View File

424
           lcd_print_utf(stat);                                  // The string leaves space
424
           lcd_print_utf(stat);                                  // The string leaves space
425
           chars -= slen - status_scroll_pos;                    // Amount of space left
425
           chars -= slen - status_scroll_pos;                    // Amount of space left
426
         }
426
         }
427
-        lcd.print('.');                                         // Always at 1+ spaces left, draw a dot
427
+        u8g.print('.');                                         // Always at 1+ spaces left, draw a dot
428
         if (--chars) {
428
         if (--chars) {
429
           if (status_scroll_pos < slen + 1)                     // Draw a second dot if there's space
429
           if (status_scroll_pos < slen + 1)                     // Draw a second dot if there's space
430
-            --chars, lcd.print('.');
430
+            --chars, u8g.print('.');
431
           if (chars) lcd_print_utf(lcd_status_message, chars);  // Print a second copy of the message
431
           if (chars) lcd_print_utf(lcd_status_message, chars);  // Print a second copy of the message
432
         }
432
         }
433
       }
433
       }

Loading…
Cancel
Save