|
@ -77,7 +77,6 @@ void menu_configuration(); |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#if ENABLED(ADVANCED_PAUSE_FEATURE) |
|
|
#if ENABLED(ADVANCED_PAUSE_FEATURE) |
|
|
void _menu_temp_filament_op(const PauseMode, const int8_t); |
|
|
|
|
|
void menu_change_filament(); |
|
|
void menu_change_filament(); |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
@ -365,10 +364,11 @@ void menu_main() { |
|
|
|
|
|
|
|
|
#if ENABLED(ADVANCED_PAUSE_FEATURE) |
|
|
#if ENABLED(ADVANCED_PAUSE_FEATURE) |
|
|
#if E_STEPPERS == 1 && DISABLED(FILAMENT_LOAD_UNLOAD_GCODES) |
|
|
#if E_STEPPERS == 1 && DISABLED(FILAMENT_LOAD_UNLOAD_GCODES) |
|
|
if (thermalManager.targetHotEnoughToExtrude(active_extruder)) |
|
|
CONFIRM_ITEM(MSG_FILAMENTCHANGE, |
|
|
GCODES_ITEM(MSG_FILAMENTCHANGE, PSTR("M600 B0")); |
|
|
MSG_YES, MSG_NO, |
|
|
else |
|
|
menu_change_filament, ui.goto_previous_screen, |
|
|
SUBMENU(MSG_FILAMENTCHANGE, []{ _menu_temp_filament_op(PAUSE_MODE_CHANGE_FILAMENT, 0); }); |
|
|
GET_TEXT(MSG_FILAMENTCHANGE), (const char *)nullptr, PSTR("?") |
|
|
|
|
|
); |
|
|
#else |
|
|
#else |
|
|
SUBMENU(MSG_FILAMENTCHANGE, menu_change_filament); |
|
|
SUBMENU(MSG_FILAMENTCHANGE, menu_change_filament); |
|
|
#endif |
|
|
#endif |
|
|