mirror of
https://github.com/synthetos/g2.git
synced 2026-02-06 11:11:57 +08:00
Only have spindle trigger feedhold if the spindle.speed > 0
This commit is contained in:
@@ -336,7 +336,7 @@ stat_t spindle_control_sync(spControl control) // uses spControl arg: OFF, CW,
|
||||
return (STAT_OK);
|
||||
}
|
||||
|
||||
if (!spindle_ready_to_resume()) {
|
||||
if (spindle.speed > 0.0 && !spindle_ready_to_resume()) {
|
||||
// request a feedhold immediately
|
||||
cm_request_feedhold(FEEDHOLD_TYPE_ACTIONS, FEEDHOLD_EXIT_CYCLE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user