Skip to content
Snippets Groups Projects
Commit 5e2abfcd authored by daid's avatar daid
Browse files

Merge pull request #391 from STB3/Marlin_with_SD-Card_Change_Menu

Add SD-Card change and SD-Card init. for electronics equipped with LCD Display
parents fa5c45f5 a0d4e8e7
Branches
Tags
No related merge requests found
......@@ -114,6 +114,8 @@
#define MSG_CONTROL_RETRACT_RECOVERF "UnRet F"
#define MSG_AUTORETRACT "AutoRetr."
#define MSG_FILAMENTCHANGE "Change filament"
#define MSG_INIT_SDCARD "Init. SD-Card"
#define MSG_CNG_SDCARD "Change SD-Card"
// Serial Console Messages
......
......@@ -199,9 +199,15 @@ static void lcd_main_menu()
MENU_ITEM(function, MSG_STOP_PRINT, lcd_sdcard_stop);
}else{
MENU_ITEM(submenu, MSG_CARD_MENU, lcd_sdcard_menu);
#if SDCARDDETECT < 1
MENU_ITEM(gcode, MSG_CNG_SDCARD, PSTR("M21")); // SD-card changed by user
#endif
}
}else{
MENU_ITEM(submenu, MSG_NO_CARD, lcd_sdcard_menu);
#if SDCARDDETECT < 1
MENU_ITEM(gcode, MSG_INIT_SDCARD, PSTR("M21")); // Manually initialize the SD-card via user interface
#endif
}
#endif
END_MENU();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment