G34 Auto-align multi-stepper Z axis (#11302)

This commit is contained in:
TheLongAndOnly
2018-10-29 20:01:36 +01:00
committed by Scott Lahteine
parent f9b80e7217
commit 5536228359
72 changed files with 1434 additions and 29 deletions

View File

@ -252,8 +252,12 @@ void GcodeSuite::process_parsed_command(
case 33: G33(); break; // G33: Delta Auto-Calibration
#endif
#if ENABLED(Z_STEPPER_AUTO_ALIGN)
case 34: G34(); break; // G34: Z Stepper automatic alignment using probe
#endif
#if ENABLED(G38_PROBE_TARGET)
case 38: // G38.2 & G38.3
case 38: // G38.2 & G38.3: Probe towards target
if (parser.subcode == 2 || parser.subcode == 3)
G38(parser.subcode == 2);
break;
@ -677,6 +681,10 @@ void GcodeSuite::process_parsed_command(
case 869: M869(); break; // M869: Report axis error
#endif
#if ENABLED(Z_STEPPER_AUTO_ALIGN)
case 422: M422(); break; // M422: Set Z Stepper automatic alignment position using probe
#endif
case 999: M999(); break; // M999: Restart after being Stopped
default: parser.unknown_command_error(); break;