Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MarlinFirmware/Marlin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Lahteine <thinkyhead@users.noreply.github.com>2022-11-10 05:54:17 +0300
committerScott Lahteine <thinkyhead@users.noreply.github.com>2022-11-10 05:54:40 +0300
commit29156ffe5d16afeb78fac434197155e8a04f0629 (patch)
treeaaaaa5b10b8dc088dc1be8c12f40f7387c77f85c
parenteff60964da6e1b5d74f342de84f47344f96f201d (diff)
🐛 Fix recalculate_max_e_jerk2.1.x
-rw-r--r--Marlin/src/module/planner.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Marlin/src/module/planner.h b/Marlin/src/module/planner.h
index 09afee7db1..974dcd2ad3 100644
--- a/Marlin/src/module/planner.h
+++ b/Marlin/src/module/planner.h
@@ -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