ソースを参照

Merge pull request #1390 from floyd871/Development

Show Custom M_Code for Z-Probe Offset when entering M503
Scott Lahteine 9年前
コミット
5c1814383a
1個のファイルの変更10行の追加1行の削除
  1. 10
    1
      Marlin/ConfigurationStore.cpp

+ 10
- 1
Marlin/ConfigurationStore.cpp ファイルの表示

@@ -286,6 +286,15 @@ SERIAL_ECHOLNPGM("Scaling factors:");
286 286
         SERIAL_ECHOLNPGM("Filament settings: Disabled");
287 287
     }
288 288
 #endif//FWRETRACT
289
+#ifdef CUSTOM_M_CODES
290
+  SERIAL_ECHO_START;
291
+  SERIAL_ECHOLNPGM("Z-Probe Offset (mm):");
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 299
 #endif//DISABLE_M503
291 300
 
@@ -515,4 +524,4 @@ void Config_ResetDefault()
515 524
 SERIAL_ECHO_START;
516 525
 SERIAL_ECHOLNPGM("Hardcoded Default Settings Loaded");
517 526
 
518
-}
527
+}

読み込み中…
キャンセル
保存