瀏覽代碼

Fix scrolling lcd message for DOGM

Scott Lahteine 7 年之前
父節點
當前提交
499d5c3b24
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      Marlin/ultralcd_impl_DOGM.h

+ 2
- 2
Marlin/ultralcd_impl_DOGM.h 查看文件

@@ -424,10 +424,10 @@ inline void lcd_implementation_status_message() {
424 424
           lcd_print_utf(stat);                                  // The string leaves space
425 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 428
         if (--chars) {
429 429
           if (status_scroll_pos < slen + 1)                     // Draw a second dot if there's space
430
-            --chars, lcd.print('.');
430
+            --chars, u8g.print('.');
431 431
           if (chars) lcd_print_utf(lcd_status_message, chars);  // Print a second copy of the message
432 432
         }
433 433
       }

Loading…
取消
儲存