From b35a7c2c872eab907fcbd986e9969142c301f86d Mon Sep 17 00:00:00 2001 From: Sam Lane <9569766+SJ-Innovation@users.noreply.github.com> Date: Mon, 4 Feb 2019 13:43:09 +0000 Subject: [PATCH] Fixed closed-loop planner stall (#13005) --- Marlin/src/module/planner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/module/planner.cpp b/Marlin/src/module/planner.cpp index ec7af5c1e..ed498574e 100644 --- a/Marlin/src/module/planner.cpp +++ b/Marlin/src/module/planner.cpp @@ -1540,7 +1540,7 @@ void Planner::synchronize() { while ( has_blocks_queued() || cleaning_buffer_counter #if ENABLED(EXTERNAL_CLOSED_LOOP_CONTROLLER) - || !READ(CLOSED_LOOP_MOVE_COMPLETE_PIN) + || (READ(CLOSED_LOOP_ENABLE_PIN) && !READ(CLOSED_LOOP_MOVE_COMPLETE_PIN)) #endif ) idle(); }