Don't show updir with no card present
This commit is contained in:
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…
Reference in a new issue