Ver código fonte

🐛 Fix M420 / M851 reports (#22829)

Followup to 79c72ed821
Manuel McLure 3 anos atrás
pai
commit
86a6b9316e
Nenhuma conta vinculada ao e-mail do autor do commit

+ 1
- 1
Marlin/src/gcode/bedlevel/M420.cpp Ver arquivo

@@ -251,7 +251,7 @@ void GcodeSuite::M420_report(const bool forReplay/*=true*/) {
251 251
     #if ENABLED(ENABLE_LEVELING_FADE_HEIGHT)
252 252
       , SP_Z_STR, LINEAR_UNIT(planner.z_fade_height)
253 253
     #endif
254
-    , " ; Leveling "
254
+    , PSTR(" ; Leveling ")
255 255
   );
256 256
   serialprintln_onoff(planner.leveling_active);
257 257
 }

+ 1
- 1
Marlin/src/gcode/probe/M851.cpp Ver arquivo

@@ -94,7 +94,7 @@ void GcodeSuite::M851_report(const bool forReplay/*=true*/) {
94 94
       PSTR("  M851 X0 Y0 Z")
95 95
     #endif
96 96
     , LINEAR_UNIT(probe.offset.z)
97
-    , " ;"
97
+    , PSTR(" ;")
98 98
   );
99 99
   say_units();
100 100
 }

Carregando…
Cancelar
Salvar