Merge pull request #5342 from thinkyhead/rc_reliable_redraw
Fix redraw in SD Card menus
This commit is contained in:
commit
115f81840b
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Reference in a new issue