Add SD-Card change and SD-Card init.
Add SD-Card change and SD-Card init. for reprap electronics without SD-Chard change detect pin.
This commit is contained in:
parent
be91fb9b47
commit
c8f1fbd9d8
1 changed files with 12 additions and 6 deletions
|
@ -199,9 +199,15 @@ static void lcd_main_menu()
|
||||||
MENU_ITEM(function, MSG_STOP_PRINT, lcd_sdcard_stop);
|
MENU_ITEM(function, MSG_STOP_PRINT, lcd_sdcard_stop);
|
||||||
}else{
|
}else{
|
||||||
MENU_ITEM(submenu, MSG_CARD_MENU, lcd_sdcard_menu);
|
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{
|
}else{
|
||||||
MENU_ITEM(submenu, MSG_NO_CARD, lcd_sdcard_menu);
|
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
|
#endif
|
||||||
END_MENU();
|
END_MENU();
|
||||||
|
|
Reference in a new issue