Skip to content

Commit 02572f6

Browse files
Ari-SSOthinkyhead
authored andcommitted
🚸 Include 'H' value in M412 report (MarlinFirmware#22138)
Co-authored-by: Scott Lahteine <[email protected]>
1 parent 4be8555 commit 02572f6

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Marlin/src/gcode/feature/runout/M412.cpp

+7-2
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,15 @@ void GcodeSuite::M412() {
5454
else {
5555
SERIAL_ECHO_START();
5656
SERIAL_ECHOPGM("Filament runout ");
57-
serialprintln_onoff(runout.enabled);
57+
serialprint_onoff(runout.enabled);
5858
#if HAS_FILAMENT_RUNOUT_DISTANCE
59-
SERIAL_ECHOLNPAIR("Filament runout distance (mm): ", runout.runout_distance());
59+
SERIAL_ECHOPAIR(" ; Distance ", runout.runout_distance(), "mm");
6060
#endif
61+
#if ENABLED(HOST_ACTION_COMMANDS)
62+
SERIAL_ECHOPGM(" ; Host handling ");
63+
serialprint_onoff(runout.host_handling);
64+
#endif
65+
SERIAL_EOL();
6166
}
6267
}
6368

0 commit comments

Comments
 (0)