Allow LCD Menu to adjust Junction Deviation lower

Allow LCD Menu to adjust Junction Deviation lower than .01.   Some machines currently have a JUNCTION_DEVIATION_MM value as low as .005 mm.     In the case of non-Linear-Advance machines...   The upper limit is raised to .5 mm.

Probably more thought needs to be given to the Linear Advance case.   It maybe it doesn't need a special case and should just use the same bounds as the non-Linear Advance case.
This commit is contained in:
Roxy-3D 2019-10-12 17:36:43 -05:00 committed by GitHub
parent df09532a9c
commit 05eed72b69
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -527,9 +527,9 @@ void menu_backlash();
#if DISABLED(CLASSIC_JERK)
#if ENABLED(LIN_ADVANCE)
EDIT_ITEM(float43, MSG_JUNCTION_DEVIATION, &planner.junction_deviation_mm, 0.01f, 0.3f, planner.recalculate_max_e_jerk);
EDIT_ITEM(float43, MSG_JUNCTION_DEVIATION, &planner.junction_deviation_mm, 0.0025f, 0.3f, planner.recalculate_max_e_jerk);
#else
EDIT_ITEM(float43, MSG_JUNCTION_DEVIATION, &planner.junction_deviation_mm, 0.01f, 0.3f);
EDIT_ITEM(float43, MSG_JUNCTION_DEVIATION, &planner.junction_deviation_mm, 0.0025f, 0.5f);
#endif
#endif
#if HAS_CLASSIC_JERK