Skip to content

Commit 26b3f0b

Browse files
committed
πŸ§‘β€πŸ’» Planner::max_jerk always xyze_pos_t
1 parent 067c830 commit 26b3f0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

β€ŽMarlin/src/module/planner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ uint32_t Planner::max_acceleration_steps_per_s2[DISTINCT_AXES]; // (steps/s^2) D
157157
float Planner::max_e_jerk[DISTINCT_E]; // Calculated from junction_deviation_mm
158158
#endif
159159
#else // CLASSIC_JERK
160-
TERN(HAS_LINEAR_E_JERK, xyz_pos_t, xyze_pos_t) Planner::max_jerk;
160+
xyze_pos_t Planner::max_jerk;
161161
#endif
162162

163163
#if ENABLED(SD_ABORT_ON_ENDSTOP_HIT)

β€ŽMarlin/src/module/planner.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ class Planner {
494494
#endif
495495
#else // CLASSIC_JERK
496496
// (mm/s^2) M205 XYZ(E) - The largest speed change requiring no acceleration.
497-
static TERN(HAS_LINEAR_E_JERK, xyz_pos_t, xyze_pos_t) max_jerk;
497+
static xyze_pos_t max_jerk;
498498
#endif
499499

500500
#if HAS_LEVELING

0 commit comments

Comments
Β (0)