瀏覽代碼

Fix scrolling lcd message for DOGM

Scott Lahteine 8 年之前
父節點
當前提交
499d5c3b24
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      Marlin/ultralcd_impl_DOGM.h

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

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…
取消
儲存