|
@ -222,6 +222,16 @@ void menu_configuration(); |
|
|
|
|
|
|
|
|
#endif // CUSTOM_MENU_MAIN
|
|
|
#endif // CUSTOM_MENU_MAIN
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(ADVANCED_PAUSE_FEATURE) |
|
|
|
|
|
// This menu item is last with an encoder. Otherwise, somewhere in the middle.
|
|
|
|
|
|
#if E_STEPPERS == 1 && DISABLED(FILAMENT_LOAD_UNLOAD_GCODES) |
|
|
|
|
|
#define FILAMENT_CHANGE_ITEM() YESNO_ITEM(MSG_FILAMENTCHANGE, menu_change_filament, nullptr, \ |
|
|
|
|
|
GET_TEXT_F(MSG_FILAMENTCHANGE), (const char *)nullptr, F("?")) |
|
|
|
|
|
#else |
|
|
|
|
|
#define FILAMENT_CHANGE_ITEM() SUBMENU(MSG_FILAMENTCHANGE, menu_change_filament) |
|
|
|
|
|
#endif |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
void menu_main() { |
|
|
void menu_main() { |
|
|
const bool busy = printingIsActive() |
|
|
const bool busy = printingIsActive() |
|
|
#if ENABLED(SDSUPPORT) |
|
|
#if ENABLED(SDSUPPORT) |
|
@ -317,6 +327,10 @@ void menu_main() { |
|
|
SUBMENU(MSG_MOTION, menu_motion); |
|
|
SUBMENU(MSG_MOTION, menu_motion); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#if BOTH(ADVANCED_PAUSE_FEATURE, DISABLE_ENCODER) |
|
|
|
|
|
FILAMENT_CHANGE_ITEM(); |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
#if HAS_CUTTER |
|
|
#if HAS_CUTTER |
|
|
SUBMENU(MSG_CUTTER(MENU), STICKY_SCREEN(menu_spindle_laser)); |
|
|
SUBMENU(MSG_CUTTER(MENU), STICKY_SCREEN(menu_spindle_laser)); |
|
|
#endif |
|
|
#endif |
|
@ -325,17 +339,6 @@ void menu_main() { |
|
|
SUBMENU(MSG_TEMPERATURE, menu_temperature); |
|
|
SUBMENU(MSG_TEMPERATURE, menu_temperature); |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#if ENABLED(ADVANCED_PAUSE_FEATURE) |
|
|
|
|
|
#if E_STEPPERS == 1 && DISABLED(FILAMENT_LOAD_UNLOAD_GCODES) |
|
|
|
|
|
YESNO_ITEM(MSG_FILAMENTCHANGE, |
|
|
|
|
|
menu_change_filament, nullptr, |
|
|
|
|
|
GET_TEXT_F(MSG_FILAMENTCHANGE), (const char *)nullptr, F("?") |
|
|
|
|
|
); |
|
|
|
|
|
#else |
|
|
|
|
|
SUBMENU(MSG_FILAMENTCHANGE, menu_change_filament); |
|
|
|
|
|
#endif |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#if HAS_POWER_MONITOR |
|
|
#if HAS_POWER_MONITOR |
|
|
SUBMENU(MSG_POWER_MONITOR, menu_power_monitor); |
|
|
SUBMENU(MSG_POWER_MONITOR, menu_power_monitor); |
|
|
#endif |
|
|
#endif |
|
@ -458,6 +461,10 @@ void menu_main() { |
|
|
}); |
|
|
}); |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(ADVANCED_PAUSE_FEATURE) && DISABLED(DISABLE_ENCODER) |
|
|
|
|
|
FILAMENT_CHANGE_ITEM(); |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
END_MENU(); |
|
|
END_MENU(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|