From bcd2a483da49030ae5f1837474c95b027f915340 Mon Sep 17 00:00:00 2001 From: Manuel McLure Date: Fri, 24 Sep 2021 19:08:07 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20M420=20/=20M851=20reports?= =?UTF-8?q?=20(#22829)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Followup to 79c72ed821 --- Marlin/src/gcode/bedlevel/M420.cpp | 2 +- Marlin/src/gcode/probe/M851.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/src/gcode/bedlevel/M420.cpp b/Marlin/src/gcode/bedlevel/M420.cpp index 1110ce7ccf..d76e08dee6 100644 --- a/Marlin/src/gcode/bedlevel/M420.cpp +++ b/Marlin/src/gcode/bedlevel/M420.cpp @@ -251,7 +251,7 @@ void GcodeSuite::M420_report(const bool forReplay/*=true*/) { #if ENABLED(ENABLE_LEVELING_FADE_HEIGHT) , SP_Z_STR, LINEAR_UNIT(planner.z_fade_height) #endif - , " ; Leveling " + , PSTR(" ; Leveling ") ); serialprintln_onoff(planner.leveling_active); } diff --git a/Marlin/src/gcode/probe/M851.cpp b/Marlin/src/gcode/probe/M851.cpp index 5518117946..7ec326730f 100644 --- a/Marlin/src/gcode/probe/M851.cpp +++ b/Marlin/src/gcode/probe/M851.cpp @@ -94,7 +94,7 @@ void GcodeSuite::M851_report(const bool forReplay/*=true*/) { PSTR(" M851 X0 Y0 Z") #endif , LINEAR_UNIT(probe.offset.z) - , " ;" + , PSTR(" ;") ); say_units(); }