dda.c: don't apply feedrate multiplier when searching endstops.
With M220 we can increase the step rate while printing. But when using this feature it could cause unexpected behaviour while homing.
This commit is contained in:
parent
9d42fa4ac1
commit
39cababb07
2
dda.c
2
dda.c
|
|
@ -180,7 +180,7 @@ void dda_create(DDA *dda, const TARGET *target) {
|
||||||
dda->endpoint.axis[Z], dda->endpoint.F);
|
dda->endpoint.axis[Z], dda->endpoint.F);
|
||||||
|
|
||||||
// Apply feedrate multiplier.
|
// Apply feedrate multiplier.
|
||||||
if (dda->endpoint.f_multiplier != 256) {
|
if (dda->endpoint.f_multiplier != 256 && ! dda->endstop_check) {
|
||||||
dda->endpoint.F *= dda->endpoint.f_multiplier;
|
dda->endpoint.F *= dda->endpoint.f_multiplier;
|
||||||
dda->endpoint.F += 128;
|
dda->endpoint.F += 128;
|
||||||
dda->endpoint.F /= 256;
|
dda->endpoint.F /= 256;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue