🧑💻 EXTRUDER_LOOP macro
This commit is contained in:
committed by
Scott Lahteine
parent
b094a3fc0d
commit
4a8b99d505
@ -928,8 +928,8 @@ class Planner {
|
||||
#if HAS_LINEAR_E_JERK
|
||||
FORCE_INLINE static void recalculate_max_e_jerk() {
|
||||
const float prop = junction_deviation_mm * SQRT(0.5) / (1.0f - SQRT(0.5));
|
||||
LOOP_L_N(i, EXTRUDERS)
|
||||
max_e_jerk[E_INDEX_N(i)] = SQRT(prop * settings.max_acceleration_mm_per_s2[E_INDEX_N(i)]);
|
||||
EXTRUDER_LOOP()
|
||||
max_e_jerk[E_INDEX_N(e)] = SQRT(prop * settings.max_acceleration_mm_per_s2[E_INDEX_N(e)]);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user