Skip to content

Commit

Permalink
Update planner.cpp
Browse files Browse the repository at this point in the history
Fix build errors around undeclared variables.
  • Loading branch information
mak0t0san authored and thinkyhead committed Feb 27, 2020
1 parent a80eda4 commit b8066d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Marlin/src/module/planner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2404,9 +2404,9 @@ bool Planner::_populate_block(block_t * const block, bool split_move,
#endif
{
const float jerk = ABS(current_speed[i]); // cs : Starting from zero, change in speed for this axis
maxj = (max_jerk[axis] // mj : The max jerk setting for this axis
const float maxj = (max_jerk[i] // mj : The max jerk setting for this axis
#ifdef TRAVEL_EXTRA_XYJERK
+ (axis == X_AXIS || axis == Y_AXIS ? extra_xyjerk : 0)
+ (i == X_AXIS || i == Y_AXIS ? extra_xyjerk : 0)
#endif
);

Expand Down

0 comments on commit b8066d0

Please sign in to comment.