Merge pull request #1390 from floyd871/Development
Show Custom M_Code for Z-Probe Offset when entering M503
This commit is contained in:
commit
5c1814383a
1 changed files with 10 additions and 1 deletions
|
@ -286,6 +286,15 @@ SERIAL_ECHOLNPGM("Scaling factors:");
|
||||||
SERIAL_ECHOLNPGM("Filament settings: Disabled");
|
SERIAL_ECHOLNPGM("Filament settings: Disabled");
|
||||||
}
|
}
|
||||||
#endif//FWRETRACT
|
#endif//FWRETRACT
|
||||||
|
#ifdef CUSTOM_M_CODES
|
||||||
|
SERIAL_ECHO_START;
|
||||||
|
SERIAL_ECHOLNPGM("Z-Probe Offset (mm):");
|
||||||
|
SERIAL_ECHO_START;
|
||||||
|
SERIAL_ECHO(" M");
|
||||||
|
SERIAL_ECHO(CUSTOM_M_CODE_SET_Z_PROBE_OFFSET);
|
||||||
|
SERIAL_ECHOPAIR(" Z",-zprobe_zoffset);
|
||||||
|
SERIAL_ECHOLN("");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif//DISABLE_M503
|
#endif//DISABLE_M503
|
||||||
|
|
||||||
|
|
Reference in a new issue