1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 12:04:19 +00:00

🩹 Fix M412_report formatting (#22834)

This commit is contained in:
Giuliano Zaro 2021-09-26 04:59:29 +02:00 committed by Scott Lahteine
parent 262cd757fc
commit 060b705dab

View File

@ -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())