Skip filament unload/load after Shipping factory reset

when MMU is enabled. With MMU enabled no filament should be
loaded while idle.
This commit is contained in:
3d-gussner 2024-05-16 12:48:49 +02:00
parent eaeb722adb
commit 9a56f1e4c1
1 changed files with 11 additions and 9 deletions

View File

@ -3881,15 +3881,17 @@ void lcd_wizard(WizState state)
state = S::Failed;
} else {
raise_z_above(MIN_Z_FOR_SWAP);
//current filament needs to be unloaded and then new filament should be loaded
//start to preheat nozzle for unloading remaining PLA filament
setTargetHotend(PLA_PREHEAT_HOTEND_TEMP);
lcd_display_message_fullscreen_P(_T(MSG_WIZARD_WILL_PREHEAT));
wait_preheat();
unload_filament(FILAMENTCHANGE_FINALRETRACT); // unload current filament
lcd_wizard_load(); // load filament
setTargetHotend(0); //we are finished, cooldown nozzle
state = S::Restore;
if(!MMU2::mmu2.Enabled()) {
//current filament needs to be unloaded and then new filament should be loaded
//start to preheat nozzle for unloading remaining PLA filament
setTargetHotend(PLA_PREHEAT_HOTEND_TEMP);
lcd_display_message_fullscreen_P(_T(MSG_WIZARD_WILL_PREHEAT));
wait_preheat();
unload_filament(FILAMENTCHANGE_FINALRETRACT); // unload current filament
lcd_wizard_load(); // load filament
setTargetHotend(0); //we are finished, cooldown nozzle
}
state = S::Restore;
}
break;
#ifdef THERMAL_MODEL