Fix updir and dir again

This commit is contained in:
Alex Voinea 2020-03-04 21:03:57 +02:00
parent 57c149e7b5
commit 5edc1ef297
No known key found for this signature in database
GPG Key ID: F5034E7CFCF2F973

View File

@ -7110,8 +7110,7 @@ static void lcd_sd_updir()
card.updir();
menu_top = 0;
lcd_encoder = 0;
// lcd_scrollTimer.start();
// menu_entering = 1;
memset(&menu_data, 0, sizeof(menu_data)); //reset menu state. Forces reloading of cached variables.
}
void lcd_print_stop()
@ -8686,8 +8685,7 @@ void menu_action_sddirectory(const char* filename)
MYSERIAL.println(dir_names[depth]);
card.chdir(filename);
lcd_encoder = 0;
// lcd_scrollTimer.start();
// menu_entering = 1;
memset(&menu_data, 0, sizeof(menu_data)); //reset menu state. Forces reloading of cached variables.
}
/** LCD API **/