Fixed closed-loop planner stall (#13005)

This commit is contained in:
Sam Lane 2019-02-04 13:43:09 +00:00 committed by Scott Lahteine
parent 691e925adc
commit b35a7c2c87

View File

@ -1540,7 +1540,7 @@ void Planner::synchronize() {
while ( while (
has_blocks_queued() || cleaning_buffer_counter has_blocks_queued() || cleaning_buffer_counter
#if ENABLED(EXTERNAL_CLOSED_LOOP_CONTROLLER) #if ENABLED(EXTERNAL_CLOSED_LOOP_CONTROLLER)
|| !READ(CLOSED_LOOP_MOVE_COMPLETE_PIN) || (READ(CLOSED_LOOP_ENABLE_PIN) && !READ(CLOSED_LOOP_MOVE_COMPLETE_PIN))
#endif #endif
) idle(); ) idle();
} }