diff --git a/Marlin/src/module/planner.cpp b/Marlin/src/module/planner.cpp index b3df490cf0..881e11f4c0 100644 --- a/Marlin/src/module/planner.cpp +++ b/Marlin/src/module/planner.cpp @@ -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) diff --git a/Marlin/src/module/planner.h b/Marlin/src/module/planner.h index 318be33131..e8bacddd9f 100644 --- a/Marlin/src/module/planner.h +++ b/Marlin/src/module/planner.h @@ -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