🧑‍💻 Planner::max_jerk always xyze_pos_t

This commit is contained in:
Scott Lahteine 2025-04-18 19:56:46 -05:00
parent 067c830e84
commit 26b3f0b00f
2 changed files with 2 additions and 2 deletions

View file

@ -157,7 +157,7 @@ uint32_t Planner::max_acceleration_steps_per_s2[DISTINCT_AXES]; // (steps/s^2) D
float Planner::max_e_jerk[DISTINCT_E]; // Calculated from junction_deviation_mm
#endif
#else // CLASSIC_JERK
TERN(HAS_LINEAR_E_JERK, xyz_pos_t, xyze_pos_t) Planner::max_jerk;
xyze_pos_t Planner::max_jerk;
#endif
#if ENABLED(SD_ABORT_ON_ENDSTOP_HIT)

View file

@ -494,7 +494,7 @@ class Planner {
#endif
#else // CLASSIC_JERK
// (mm/s^2) M205 XYZ(E) - The largest speed change requiring no acceleration.
static TERN(HAS_LINEAR_E_JERK, xyz_pos_t, xyze_pos_t) max_jerk;
static xyze_pos_t max_jerk;
#endif
#if HAS_LEVELING