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