浏览代码

Merge pull request #3793 from gudnimg/PFW-1453

PFW-1453 Stop Print: Don't unload if FINDA is not triggered
Guðni Már Gilbert 2 年之前
父节点
当前提交
1e39012953
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Firmware/ultralcd.cpp

+ 2 - 2
Firmware/ultralcd.cpp

@@ -5887,14 +5887,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.