Skip to content

Commit

Permalink
Merge pull request #4689 from 3d-gussner/MK3_PFW-964
Browse files Browse the repository at this point in the history
PFW-964: Skip filament unload/load after Shipping factory reset
  • Loading branch information
3d-gussner committed Jul 3, 2024
2 parents 3c7ae1e + 9a56f1e commit 152b290
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions Firmware/ultralcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 152b290

Please sign in to comment.