Make spindle_speed_ramp_from_systick() return "done" when in feedhold (releasing the spindle)

This commit is contained in:
Rob Giseburt
2020-01-10 19:30:27 -06:00
parent c68f56e6e0
commit 56f21080a1
+1
View File
@@ -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