Commit 6aee2c7 1 parent bb2f100 commit 6aee2c7 Copy full SHA for 6aee2c7
File tree 1 file changed +3
-3
lines changed
Marlin/src/gcode/calibrate
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -486,9 +486,9 @@ void GcodeSuite::M422() {
486
486
return ;
487
487
}
488
488
489
- const bool is_probe_point = parser.seen (' S' );
489
+ const bool is_probe_point = parser.seen_test (' S' );
490
490
491
- if (TERN0 (HAS_Z_STEPPER_ALIGN_STEPPER_XY, is_probe_point && parser.seen (' W' ))) {
491
+ if (TERN0 (HAS_Z_STEPPER_ALIGN_STEPPER_XY, is_probe_point && parser.seen_test (' W' ))) {
492
492
SERIAL_ECHOLNPGM (" ?(S) and (W) may not be combined." );
493
493
return ;
494
494
}
@@ -498,7 +498,7 @@ void GcodeSuite::M422() {
498
498
z_stepper_align.xy
499
499
);
500
500
501
- if (!is_probe_point && TERN1 (HAS_Z_STEPPER_ALIGN_STEPPER_XY, !parser.seen (' W' ))) {
501
+ if (!is_probe_point && TERN1 (HAS_Z_STEPPER_ALIGN_STEPPER_XY, !parser.seen_test (' W' ))) {
502
502
SERIAL_ECHOLNPGM (" ?(S)" TERN_ (HAS_Z_STEPPER_ALIGN_STEPPER_XY, " or (W)" ) " is required." );
503
503
return ;
504
504
}
You can’t perform that action at this time.
0 commit comments