Don't show updir with no card present
This commit is contained in:
		| @@ -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) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user