Fix redraw in SD Card menus

This commit is contained in:
Scott Lahteine 2016-12-01 18:15:58 -06:00
parent 47b4b21308
commit d07229f185

View file

@ -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