"Hardened" new optimized code to ensure initial motion is going in the correct direction.

Fix for feedhold during G33 and G76 synchronized motion not beeing delayed until motion completed.
This commit is contained in:
Terje Io
2025-03-29 09:29:31 +01:00
parent b737687743
commit 55a9f6a197
6 changed files with 35 additions and 20 deletions
+3
View File
@@ -742,6 +742,9 @@ void mc_thread (plan_line_data_t *pl_data, float *position, gc_thread_data *thre
return;
}
if(!protocol_buffer_synchronize() && state_get() != STATE_IDLE) // Wait until any previous moves are finished.
return;
pl_data->condition.rapid_motion = On; // Set rapid motion condition flag and
pl_data->spindle.state.synchronized = Off; // disable spindle sync for retract & reposition