mirror of
https://github.com/synthetos/g2.git
synced 2026-09-22 03:08:42 +08:00
Make spindle_speed_ramp_from_systick() return "done" when in feedhold (releasing the spindle)
This commit is contained in:
@@ -427,6 +427,7 @@ bool spindle_speed_ramp_from_systick() {
|
||||
} else {
|
||||
spindle.speed_actual = 0;
|
||||
pwm_set_duty(PWM_1, _get_spindle_pwm(spindle, pwm));
|
||||
done = cm->hold_state != FEEDHOLD_OFF;
|
||||
}
|
||||
return done;
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user