Reset menu state after lcd_sd_refresh

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

View file

@ -7100,9 +7100,7 @@ static void lcd_sd_refresh()
#endif
menu_top = 0;
lcd_encoder = 0;
//todo: clear menu data. Resets sdcard_menu state and timer
// lcd_scrollTimer.start();
// menu_entering = 1;
memset(&menu_data, 0, sizeof(menu_data)); //reset menu state. Forces reloading of cached variables.
}
static void lcd_sd_updir()