🩹 Fix DGUS LCD + FT_MOTION compile (#28322)

This commit is contained in:
narno2202
2026-02-27 22:29:34 +01:00
committed by GitHub
parent cf347df937
commit 71d5661fe4
2 changed files with 2 additions and 2 deletions

View File

@@ -408,7 +408,7 @@
#define HAS_CLASSIC_E_JERK 1
#endif
// E jerk is derived from JD factors
#if ALL(HAS_JUNCTION_DEVIATION, LIN_ADVANCE)
#if HAS_JUNCTION_DEVIATION && ANY(LIN_ADVANCE, FTM_HAS_LIN_ADVANCE)
#define HAS_LINEAR_E_JERK 1
#endif

View File

@@ -676,7 +676,7 @@ namespace ExtUI {
void setJunctionDeviation_mm(const float value) {
planner.junction_deviation_mm = constrain(value, 0.001, 0.3);
TERN_(HAS_LIN_ADVANCE_K, planner.recalculate_max_e_jerk());
TERN_(HAS_LINEAR_E_JERK, planner.recalculate_max_e_jerk());
}
#else