Browse Source

Fix DOGM status message scrolling (#20557)

vanilla_fb_2.0.x
Victor Oliveira 4 years ago
committed by GitHub
parent
commit
e6c15eee45
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      Marlin/src/lcd/dogm/status_screen_DOGM.cpp

9
Marlin/src/lcd/dogm/status_screen_DOGM.cpp

@ -892,6 +892,10 @@ void MarlinUI::draw_status_message(const bool blink) {
} }
else { else {
// String is longer than the available space // String is longer than the available space
if (blink != last_blink) {
last_blink = blink;
advance_status_scroll();
}
// Get a pointer to the next valid UTF8 character // Get a pointer to the next valid UTF8 character
// and the string remaining length // and the string remaining length
@ -911,11 +915,6 @@ void MarlinUI::draw_status_message(const bool blink) {
} }
} }
} }
if (last_blink != blink) {
last_blink = blink;
advance_status_scroll();
}
} }
#else // !STATUS_MESSAGE_SCROLLING #else // !STATUS_MESSAGE_SCROLLING

Loading…
Cancel
Save