Add external closed loop controller support
This commit is contained in:
@ -1539,7 +1539,14 @@ float Planner::get_axis_position_mm(const AxisEnum axis) {
|
||||
/**
|
||||
* Block until all buffered steps are executed / cleaned
|
||||
*/
|
||||
void Planner::synchronize() { while (has_blocks_queued() || cleaning_buffer_counter) idle(); }
|
||||
void Planner::synchronize() {
|
||||
while (
|
||||
has_blocks_queued() || cleaning_buffer_counter
|
||||
#if ENABLED(EXTERNAL_CLOSED_LOOP_CONTROLLER)
|
||||
|| !READ(CLOSED_LOOP_MOVE_COMPLETE_PIN)
|
||||
#endif
|
||||
) idle();
|
||||
}
|
||||
|
||||
/**
|
||||
* Planner::_buffer_steps
|
||||
|
Reference in New Issue
Block a user