🐛 Fix recalculate_max_e_jerk

This commit is contained in:
Scott Lahteine 2022-11-09 20:54:17 -06:00
parent eff60964da
commit 29156ffe5d
1 changed files with 1 additions and 1 deletions

View File

@ -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