|
@@ -227,6 +227,7 @@
|
227
|
227
|
* M665 - Set delta configurations: L<diagonal rod> R<delta radius> S<segments/s>
|
228
|
228
|
* M666 - Set delta endstop adjustment
|
229
|
229
|
* M605 - Set dual x-carriage movement mode: S<mode> [ X<duplication x-offset> R<duplication temp offset> ]
|
|
230
|
+ * M851 - Set Z probe's Z offset (mm). Set to a negative value for probes that trigger below the nozzle.
|
230
|
231
|
* M907 - Set digital trimpot motor current using axis codes.
|
231
|
232
|
* M908 - Control digital trimpot directly.
|
232
|
233
|
* M909 - DAC_STEPPER_CURRENT: Print digipot/DAC current value
|
|
@@ -245,9 +246,6 @@
|
245
|
246
|
*
|
246
|
247
|
* ************ Custom codes - This can change to suit future G-code regulations
|
247
|
248
|
* M100 - Watch Free Memory (For Debugging Only)
|
248
|
|
- * M851 - Set Z probe's Z offset (mm above extruder -- The value will always be negative)
|
249
|
|
-
|
250
|
|
-
|
251
|
249
|
* M928 - Start SD logging (M928 filename.g) - ended by M29
|
252
|
250
|
* M999 - Restart after being stopped by error
|
253
|
251
|
*
|
|
@@ -7363,11 +7361,11 @@ void process_next_command() {
|
7363
|
7361
|
break;
|
7364
|
7362
|
#endif
|
7365
|
7363
|
|
7366
|
|
- #ifdef CUSTOM_M_CODE_SET_Z_PROBE_OFFSET
|
7367
|
|
- case CUSTOM_M_CODE_SET_Z_PROBE_OFFSET:
|
|
7364
|
+ #if HAS_BED_PROBE
|
|
7365
|
+ case 851:
|
7368
|
7366
|
gcode_M851();
|
7369
|
7367
|
break;
|
7370
|
|
- #endif // CUSTOM_M_CODE_SET_Z_PROBE_OFFSET
|
|
7368
|
+ #endif // HAS_BED_PROBE
|
7371
|
7369
|
|
7372
|
7370
|
#if ENABLED(FILAMENTCHANGEENABLE)
|
7373
|
7371
|
case 600: //Pause for filament change X[pos] Y[pos] Z[relative lift] E[initial retract] L[later retract distance for removal]
|