Merge pull request #4689 from 3d-gussner/MK3_PFW-964
PFW-964: Skip filament unload/load after Shipping factory reset
This commit is contained in:
commit
152b290d1d
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue