Commit 9f8a8cf4 authored by MagoKimbra's avatar MagoKimbra

Fix pasuse_pin

parent 45bda412
...@@ -6223,6 +6223,13 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) //default argument s ...@@ -6223,6 +6223,13 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) //default argument s
} }
#endif #endif
#if defined(PAUSE_PIN) && PAUSE_PIN > -1
if (READ(PAUSE_PIN) == 0 && !paused)
{
pause();
}
#endif //defined(PAUSE_PIN) && PAUSE_PIN > -1
#if defined(CONTROLLERFAN_PIN) && CONTROLLERFAN_PIN > -1 #if defined(CONTROLLERFAN_PIN) && CONTROLLERFAN_PIN > -1
controllerFan(); //Check if fan should be turned on to cool stepper drivers down controllerFan(); //Check if fan should be turned on to cool stepper drivers down
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment