🐛 Fix M420 / M851 reports (#22829)

Followup to 79c72ed821
x301
Manuel McLure 3 years ago committed by Scott Lahteine
parent d338872e85
commit bcd2a483da

@ -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);
} }

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