Преглед на файлове

Avoid watchdog while doing VerifyFilamentEnteredPTFE

D.R.racer преди 2 години
родител
ревизия
5639620041
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      Firmware/mmu2.cpp

+ 2 - 0
Firmware/mmu2.cpp

@@ -328,6 +328,8 @@ bool MMU2::VerifyFilamentEnteredPTFE()
         // Wait for move to finish and monitor the fsensor the entire time
         // A single 0 reading will set the bit.
         fsensorState |= !fsensor.getFilamentPresent();
+        manage_heater();
+        manage_inactivity(true);
     }
 
     if (fsensorState)