Toggle MMU Mode
This commit is contained in:
parent
6a8330a43b
commit
a821002f02
|
|
@ -114,6 +114,7 @@ const char MSG_MODEL[] PROGMEM_I1 = ISTR("Model"); ////
|
||||||
const char MSG_FIRMWARE[] PROGMEM_I1 = ISTR("Firmware"); ////
|
const char MSG_FIRMWARE[] PROGMEM_I1 = ISTR("Firmware"); ////
|
||||||
const char MSG_GCODE[] PROGMEM_I1 = ISTR("Gcode"); ////
|
const char MSG_GCODE[] PROGMEM_I1 = ISTR("Gcode"); ////
|
||||||
const char MSG_NOZZLE_DIAMETER[] PROGMEM_I1 = ISTR("Nozzle d."); ////
|
const char MSG_NOZZLE_DIAMETER[] PROGMEM_I1 = ISTR("Nozzle d."); ////
|
||||||
|
const char MSG_MMU_MODE[] PROGMEM_I1 = ISTR("MMU Mode"); ////
|
||||||
|
|
||||||
//not internationalized messages
|
//not internationalized messages
|
||||||
const char MSG_SD_WORKDIR_FAIL[] PROGMEM_N1 = "workDir open failed"; ////
|
const char MSG_SD_WORKDIR_FAIL[] PROGMEM_N1 = "workDir open failed"; ////
|
||||||
|
|
|
||||||
|
|
@ -114,6 +114,7 @@ extern const char MSG_MODEL[];
|
||||||
extern const char MSG_FIRMWARE[];
|
extern const char MSG_FIRMWARE[];
|
||||||
extern const char MSG_GCODE[];
|
extern const char MSG_GCODE[];
|
||||||
extern const char MSG_NOZZLE_DIAMETER[];
|
extern const char MSG_NOZZLE_DIAMETER[];
|
||||||
|
extern const char MSG_MMU_MODE[];
|
||||||
|
|
||||||
//not internationalized messages
|
//not internationalized messages
|
||||||
extern const char MSG_BROWNOUT_RESET[];
|
extern const char MSG_BROWNOUT_RESET[];
|
||||||
|
|
|
||||||
|
|
@ -5217,8 +5217,8 @@ do\
|
||||||
{\
|
{\
|
||||||
if (mmu_enabled)\
|
if (mmu_enabled)\
|
||||||
{\
|
{\
|
||||||
if (SilentModeMenu_MMU == 0) MENU_ITEM_FUNCTION_P(_i("MMU Mode [Normal]"), lcd_silent_mode_mmu_set); \
|
if (SilentModeMenu_MMU == 0) MENU_ITEM_TOGGLE_P(_T(MSG_MMU_MODE), _T(MSG_NORMAL), lcd_silent_mode_mmu_set);\
|
||||||
else MENU_ITEM_FUNCTION_P(_i("MMU Mode[Stealth]"), lcd_silent_mode_mmu_set); \
|
else MENU_ITEM_TOGGLE_P(_T(MSG_MMU_MODE), _T(MSG_STEALTH), lcd_silent_mode_mmu_set);\
|
||||||
}\
|
}\
|
||||||
}\
|
}\
|
||||||
while (0)
|
while (0)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue