|
@@ -3876,6 +3876,20 @@ inline void gcode_G28() {
|
3876
|
3876
|
report_current_position();
|
3877
|
3877
|
}
|
3878
|
3878
|
|
|
3879
|
+ #if ENABLED(Z_PROBE_SLED)
|
|
3880
|
+
|
|
3881
|
+ /**
|
|
3882
|
+ * G31: Deploy the Z probe
|
|
3883
|
+ */
|
|
3884
|
+ inline void gcode_G31() { deploy_z_probe(); }
|
|
3885
|
+
|
|
3886
|
+ /**
|
|
3887
|
+ * G32: Stow the Z probe
|
|
3888
|
+ */
|
|
3889
|
+ inline void gcode_G32() { stow_z_probe(); }
|
|
3890
|
+
|
|
3891
|
+ #endif // Z_PROBE_SLED
|
|
3892
|
+
|
3879
|
3893
|
#endif // HAS_BED_PROBE
|
3880
|
3894
|
|
3881
|
3895
|
/**
|
|
@@ -6865,10 +6879,11 @@ void process_next_command() {
|
6865
|
6879
|
#if ENABLED(Z_PROBE_SLED)
|
6866
|
6880
|
|
6867
|
6881
|
case 31: // G31: dock the sled
|
6868
|
|
- stow_z_probe();
|
|
6882
|
+ gcode_G31();
|
6869
|
6883
|
break;
|
|
6884
|
+
|
6870
|
6885
|
case 32: // G32: undock the sled
|
6871
|
|
- deploy_z_probe();
|
|
6886
|
+ gcode_G32();
|
6872
|
6887
|
break;
|
6873
|
6888
|
|
6874
|
6889
|
#endif // Z_PROBE_SLED
|