|
@@ -507,15 +507,15 @@ float junction_deviation = 0.1;
|
507
|
507
|
target[Z_AXIS] = lround(z * axis_steps_per_unit[Z_AXIS]);
|
508
|
508
|
target[E_AXIS] = lround(e * axis_steps_per_unit[E_AXIS]);
|
509
|
509
|
|
510
|
|
- float dx = target[X_AXIS] - position[X_AXIS],
|
511
|
|
- dy = target[Y_AXIS] - position[Y_AXIS],
|
512
|
|
- dz = target[Z_AXIS] - position[Z_AXIS];
|
|
510
|
+ long dx = target[X_AXIS] - position[X_AXIS],
|
|
511
|
+ dy = target[Y_AXIS] - position[Y_AXIS],
|
|
512
|
+ dz = target[Z_AXIS] - position[Z_AXIS];
|
513
|
513
|
|
514
|
514
|
// DRYRUN ignores all temperature constraints and assures that the extruder is instantly satisfied
|
515
|
515
|
if (marlin_debug_flags & DEBUG_DRYRUN)
|
516
|
516
|
position[E_AXIS] = target[E_AXIS];
|
517
|
517
|
|
518
|
|
- float de = target[E_AXIS] - position[E_AXIS];
|
|
518
|
+ long de = target[E_AXIS] - position[E_AXIS];
|
519
|
519
|
|
520
|
520
|
#if ENABLED(PREVENT_DANGEROUS_EXTRUDE)
|
521
|
521
|
if (de) {
|