Merge pull request #5342 from thinkyhead/rc_reliable_redraw

Fix redraw in SD Card menus
master
Scott Lahteine 8 years ago committed by GitHub
commit 115f81840b

@ -1992,6 +1992,8 @@ void kill_screen(const char* lcd_msg) {
void lcd_sd_updir() { void lcd_sd_updir() {
card.updir(); card.updir();
encoderTopLine = 0; encoderTopLine = 0;
screen_changed = true;
lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW;
} }
/** /**
@ -2464,6 +2466,8 @@ void kill_screen(const char* lcd_msg) {
UNUSED(longFilename); UNUSED(longFilename);
card.chdir(filename); card.chdir(filename);
encoderPosition = 0; encoderPosition = 0;
screen_changed = true;
lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW;
} }
#endif //SDSUPPORT #endif //SDSUPPORT

Loading…
Cancel
Save