PFW-1453 Stop Print: Don't unload if FINDA is not triggered

This commit is contained in:
Guðni Már Gilbert 2022-12-03 09:37:20 +00:00 committed by Alex Voinea
parent c42553dca6
commit a8fe71df8c
1 changed files with 2 additions and 2 deletions

View File

@ -5863,14 +5863,14 @@ void print_stop()
fanSpeed = 0; fanSpeed = 0;
} }
if (MMU2::mmu2.Enabled()) if (MMU2::mmu2.Enabled() && MMU2::mmu2.FindaDetectsFilament())
{ {
if (isPrintPaused) if (isPrintPaused)
{ {
// Restore temperature saved in ram after pausing print // Restore temperature saved in ram after pausing print
restore_extruder_temperature_from_ram(); restore_extruder_temperature_from_ram();
} }
MMU2::mmu2.unload(); //M702 C MMU2::mmu2.unload(); // M702
} }
lcd_cooldown(); //turns off heaters and fan; goes to status screen. lcd_cooldown(); //turns off heaters and fan; goes to status screen.