Merge pull request #5342 from thinkyhead/rc_reliable_redraw

Fix redraw in SD Card menus
This commit is contained in:
Scott Lahteine 2016-12-01 22:42:24 -06:00 committed by GitHub
commit 115f81840b

View file

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