From 2d454da3af58bfd2547de05ea9e4d12ea748fdd5 Mon Sep 17 00:00:00 2001 From: Michael Neumann Date: Tue, 20 Jan 2015 16:21:44 +0100 Subject: [PATCH] Update ConfigurationStore.cpp Show Custom M Code when entering M503 --- Marlin/ConfigurationStore.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Marlin/ConfigurationStore.cpp b/Marlin/ConfigurationStore.cpp index 9a64d19f54..36d405e226 100644 --- a/Marlin/ConfigurationStore.cpp +++ b/Marlin/ConfigurationStore.cpp @@ -286,6 +286,15 @@ SERIAL_ECHOLNPGM("Scaling factors:"); SERIAL_ECHOLNPGM("Filament settings: Disabled"); } #endif//FWRETRACT +#ifdef CUSTOM_M_CODES + SERIAL_ECHO_START; + SERIAL_ECHOLNPGM("Z-Probe Offset"); + 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 @@ -515,4 +524,4 @@ void Config_ResetDefault() SERIAL_ECHO_START; SERIAL_ECHOLNPGM("Hardcoded Default Settings Loaded"); -} \ No newline at end of file +}