Browse Source

Update ConfigurationStore.cpp

Show Custom M Code when entering M503
Michael Neumann 10 years ago
parent
commit
2d454da3af
1 changed files with 10 additions and 1 deletions
  1. 10
    1
      Marlin/ConfigurationStore.cpp

+ 10
- 1
Marlin/ConfigurationStore.cpp View File

286
         SERIAL_ECHOLNPGM("Filament settings: Disabled");
286
         SERIAL_ECHOLNPGM("Filament settings: Disabled");
287
     }
287
     }
288
 #endif//FWRETRACT
288
 #endif//FWRETRACT
289
+#ifdef CUSTOM_M_CODES
290
+  SERIAL_ECHO_START;
291
+  SERIAL_ECHOLNPGM("Z-Probe Offset");
292
+  SERIAL_ECHO_START;
293
+  SERIAL_ECHO("   M");
294
+  SERIAL_ECHO(CUSTOM_M_CODE_SET_Z_PROBE_OFFSET);
295
+  SERIAL_ECHOPAIR(" Z",-zprobe_zoffset);
296
+  SERIAL_ECHOLN("");
297
+#endif
289
 }
298
 }
290
 #endif//DISABLE_M503
299
 #endif//DISABLE_M503
291
 
300
 
515
 SERIAL_ECHO_START;
524
 SERIAL_ECHO_START;
516
 SERIAL_ECHOLNPGM("Hardcoded Default Settings Loaded");
525
 SERIAL_ECHOLNPGM("Hardcoded Default Settings Loaded");
517
 
526
 
518
-}
527
+}

Loading…
Cancel
Save