Explorar o código

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

Guðni Már Gilbert %!s(int64=2) %!d(string=hai) anos
pai
achega
a8fe71df8c
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Firmware/ultralcd.cpp

+ 2 - 2
Firmware/ultralcd.cpp

@@ -5863,14 +5863,14 @@ void print_stop()
         fanSpeed = 0;
     }
 
-    if (MMU2::mmu2.Enabled())
+    if (MMU2::mmu2.Enabled() && MMU2::mmu2.FindaDetectsFilament())
     {
         if (isPrintPaused)
         {
             // Restore temperature saved in ram after pausing print
             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.