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
1 changed files with 1 additions and 3 deletions

View File

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