瀏覽代碼

🚸 Include 'H' value in M412 report (#22138)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
Ari-SSO 4 年之前
父節點
當前提交
aeb21a3516
No account linked to committer's email address
共有 1 個文件被更改,包括 7 次插入2 次删除
  1. 7
    2
      Marlin/src/gcode/feature/runout/M412.cpp

+ 7
- 2
Marlin/src/gcode/feature/runout/M412.cpp 查看文件

@@ -54,10 +54,15 @@ void GcodeSuite::M412() {
54 54
   else {
55 55
     SERIAL_ECHO_START();
56 56
     SERIAL_ECHOPGM("Filament runout ");
57
-    serialprintln_onoff(runout.enabled);
57
+    serialprint_onoff(runout.enabled);
58 58
     #if HAS_FILAMENT_RUNOUT_DISTANCE
59
-      SERIAL_ECHOLNPAIR("Filament runout distance (mm): ", runout.runout_distance());
59
+      SERIAL_ECHOPAIR(" ; Distance ", runout.runout_distance(), "mm");
60 60
     #endif
61
+    #if ENABLED(HOST_ACTION_COMMANDS)
62
+      SERIAL_ECHOPGM(" ; Host handling ");
63
+      serialprint_onoff(runout.host_handling);
64
+    #endif
65
+    SERIAL_EOL();
61 66
   }
62 67
 }
63 68
 

Loading…
取消
儲存