SD Menu patches
This commit is contained in:
@ -3743,7 +3743,7 @@ void kill_screen(const char* lcd_msg) {
|
||||
#endif
|
||||
|
||||
void lcd_sd_updir() {
|
||||
card.updir();
|
||||
encoderPosition = card.updir() ? ENCODER_STEPS_PER_MENU_ITEM : 0;
|
||||
encoderTopLine = 0;
|
||||
screen_changed = true;
|
||||
lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW;
|
||||
@ -4444,7 +4444,8 @@ void kill_screen(const char* lcd_msg) {
|
||||
void menu_action_sddirectory(const char* filename, char* longFilename) {
|
||||
UNUSED(longFilename);
|
||||
card.chdir(filename);
|
||||
encoderPosition = 0;
|
||||
encoderTopLine = 0;
|
||||
encoderPosition = 2 * ENCODER_STEPS_PER_MENU_ITEM;
|
||||
screen_changed = true;
|
||||
lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW;
|
||||
}
|
||||
|
Reference in New Issue
Block a user