Skip to content

Commit

Permalink
🩹 Fix M412_report formatting (MarlinFirmware#22834)
Browse files Browse the repository at this point in the history
  • Loading branch information
GMagician authored and mh-dm committed May 15, 2022
1 parent c800f47 commit 12dcbbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/gcode/feature/runout/M412.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ void GcodeSuite::M412() {

void GcodeSuite::M412_report(const bool forReplay/*=true*/) {
report_heading_etc(forReplay, PSTR(STR_FILAMENT_RUNOUT_SENSOR));
SERIAL_ECHOLNPGM(
SERIAL_ECHOPGM(
" M412 S", runout.enabled
#if HAS_FILAMENT_RUNOUT_DISTANCE
, " D", LINEAR_UNIT(runout.runout_distance())
Expand Down

0 comments on commit 12dcbbb

Please sign in to comment.