Ver código fonte

Fix safety timer.

Constant parameter greater than 16 bits must by stated as unsigned long.
Marek Bel 7 anos atrás
pai
commit
c88f0108af
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      Firmware/Marlin_main.cpp

+ 1 - 1
Firmware/Marlin_main.cpp

@@ -7102,7 +7102,7 @@ static void handleSafetyTimer()
     {
         safetyTimer.start();
     }
-    else if (safetyTimer.expired(15*60*1000))
+    else if (safetyTimer.expired(900000ul))
     {
         setTargetBed(0);
         setTargetHotend(0, 0);