Don't show updir with no card present

2.0.x
Scott Lahteine 6 years ago
parent ec9d21a234
commit d51e5690f4

@ -111,9 +111,8 @@ void menu_sdcard() {
MENU_ITEM(function, LCD_STR_REFRESH MSG_REFRESH, lcd_sd_refresh);
#endif
}
else {
else if (card.flag.cardOK)
MENU_ITEM(function, LCD_STR_FOLDER "..", lcd_sd_updir);
}
for (uint16_t i = 0; i < fileCnt; i++) {
if (_menuLineNr == _thisItemNr) {

Loading…
Cancel
Save