Skip to content

Commit

Permalink
🐛 Fix recalculate_max_e_jerk
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Nov 10, 2022
1 parent c209626 commit 3985d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/module/planner.h
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ class Planner {
FORCE_INLINE static void recalculate_max_e_jerk() {
const float prop = junction_deviation_mm * SQRT(0.5) / (1.0f - SQRT(0.5));
EXTRUDER_LOOP()
max_e_jerk[E_INDEX_N(e)] = SQRT(prop * settings.max_acceleration_mm_per_s2[E_INDEX_N(e)]);
max_e_jerk[E_INDEX_N(e)] = SQRT(prop * settings.max_acceleration_mm_per_s2[E_AXIS_N(e)]);
}
#endif

Expand Down

0 comments on commit 3985d26

Please sign in to comment.