Browse Source

🐛 Fix M420 / M851 reports (#22829)

Followup to 79c72ed821
vanilla_fb_2.0.x
Manuel McLure 3 years ago
committed by Scott Lahteine
parent
commit
bcd2a483da
  1. 2
      Marlin/src/gcode/bedlevel/M420.cpp
  2. 2
      Marlin/src/gcode/probe/M851.cpp

2
Marlin/src/gcode/bedlevel/M420.cpp

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

2
Marlin/src/gcode/probe/M851.cpp

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

Loading…
Cancel
Save