Fix CoreXY compile with backlash cal. (#19422)

This commit is contained in:
Cole Markham
2020-09-19 08:14:34 -05:00
committed by GitHub
parent e65deacabb
commit 4628f0e237
3 changed files with 3 additions and 6 deletions

View File

@ -56,7 +56,7 @@ void GcodeSuite::M425() {
};
LOOP_XYZ(a) {
if (AXIS_CAN_CALIBRATE(a) && parser.seen(XYZ_CHAR(a))) {
if (axis_can_calibrate(a) && parser.seen(XYZ_CHAR(a))) {
planner.synchronize();
backlash.distance_mm[a] = parser.has_value() ? parser.value_linear_units() : backlash.get_measurement(AxisEnum(a));
noArgs = false;