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:
3d-gussner 2024-07-03 13:20:49 +02:00 committed by GitHub
commit 152b290d1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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