Skip to content

Commit

Permalink
More no JD with CJ.
Browse files Browse the repository at this point in the history
  • Loading branch information
mh-dm committed Dec 14, 2023
1 parent 1b197bf commit feef688
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Marlin/src/module/planner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2821,12 +2821,7 @@ bool Planner::_populate_block(
}
vmax_junction *= v_factor;
}

#if HAS_JUNCTION_DEVIATION
NOMORE(vmax_junction_sqr, sq(vmax_junction)); // Throttle down to max speed
#else
vmax_junction_sqr = sq(vmax_junction); // Go up or down to the new speed
#endif
vmax_junction_sqr = sq(vmax_junction);

#endif // CLASSIC_JERK

Expand Down

0 comments on commit feef688

Please sign in to comment.