From 499d5c3b2456aeb79161ff34e10d4b7a1f02676a Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 15 Jun 2017 15:07:39 -0500 Subject: [PATCH] Fix scrolling lcd message for DOGM --- Marlin/ultralcd_impl_DOGM.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/ultralcd_impl_DOGM.h b/Marlin/ultralcd_impl_DOGM.h index 676dfcacf..295e27676 100644 --- a/Marlin/ultralcd_impl_DOGM.h +++ b/Marlin/ultralcd_impl_DOGM.h @@ -424,10 +424,10 @@ inline void lcd_implementation_status_message() { lcd_print_utf(stat); // The string leaves space chars -= slen - status_scroll_pos; // Amount of space left } - lcd.print('.'); // Always at 1+ spaces left, draw a dot + u8g.print('.'); // Always at 1+ spaces left, draw a dot if (--chars) { if (status_scroll_pos < slen + 1) // Draw a second dot if there's space - --chars, lcd.print('.'); + --chars, u8g.print('.'); if (chars) lcd_print_utf(lcd_status_message, chars); // Print a second copy of the message } }