Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Leftover Classic Jerk and Junction Deviation code cleanup.
There might be more, but I wasn't able to find any.
Benefits
Less junk.
Modification explanation
Marlin/src/inc/Conditionals_LCD.h
There is no need to check for
IS_KINEMATIC
:https://github.com/qwewer0/Marlin/blob/c3350c1945f46c249b37b0431f25b3e197698625/Marlin/src/inc/SanityCheck.h#L1244-L1249
Marlin/src/inc/SanityCheck.h
Use
BOTH()
instead.Marlin/src/lcd/menu/menu_advanced.cpp, Marlin/src/module/planner.cpp
Inside
HAS_CLASSIC_JERK
there is no need to check forHAS_JUNCTION_DEVIATION
:https://github.com/qwewer0/Marlin/blob/c3350c1945f46c249b37b0431f25b3e197698625/Marlin/src/inc/Conditionals_LCD.h#L948-L952
Removing HAS_DIST_MM_ARG:
Marlin/src/module/motion.cpp, Marlin/src/module/planner.cpp, Marlin/src/module/planner.h
HAS_JUNCTION_DEVIATION
cannot be enabled withIS_KINEMATIC
:https://github.com/qwewer0/Marlin/blob/c3350c1945f46c249b37b0431f25b3e197698625/Marlin/src/inc/SanityCheck.h#L1244-L1249