less eccentric

This commit is contained in:
Scott Lahteine 2020-11-12 22:48:04 -06:00 committed by GitHub
parent 3f7327c279
commit c0ae31fbe9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1010,7 +1010,7 @@ void MarlinUI::update() {
// cause a refresh to occur until all the text has scrolled into view.
if (currentScreen == menu_media && !lcd_status_update_delay--) {
lcd_status_update_delay = ++filename_scroll_pos >= filename_scroll_max ? 12 : 4; // Long delay at end and start
if (filename_scroll_max < filename_scroll_pos) filename_scroll_pos = 0;
if (filename_scroll_pos > filename_scroll_max) filename_scroll_pos = 0;
refresh(LCDVIEW_REDRAW_NOW);
RESET_STATUS_TIMEOUT();
}