Skip to content

Fix compile error with a DGUS LCD and FT_MOTION enabled#28322

Open
narno2202 wants to merge 4 commits intoMarlinFirmware:bugfix-2.1.xfrom
narno2202:Fix_DGUS_LCD
Open

Fix compile error with a DGUS LCD and FT_MOTION enabled#28322
narno2202 wants to merge 4 commits intoMarlinFirmware:bugfix-2.1.xfrom
narno2202:Fix_DGUS_LCD

Conversation

@narno2202
Copy link
Contributor

Description

When there is a DGUS LCD (in my case MKS H43) and FT_MOTION enabled without linear advance, compilation fails with planner.recalculate_max_e_jerk() not defined. Updating conditional for HAS_LINEAR_E_JERK in Conditionnals-4-adv.h solves the issue.

Requirements

Benefits

Configurations

a DGUS LCD with FT_MOTION enabled without linear advance.

Related Issues

#endif
// E jerk is derived from JD factors
#if ALL(HAS_JUNCTION_DEVIATION, LIN_ADVANCE)
#if (HAS_JUNCTION_DEVIATION && (LIN_ADVANCE || FTM_HAS_LIN_ADVANCE))
Copy link
Contributor

@oliof oliof Feb 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not

#if ANY(ALL(...), FTM_HAS_LIN_ADVANCE))

Also, the comment in line 410 would need updating.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compilation error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants