🐛 Fix M420 / M851 reports (#22829)

Followup to 79c72ed821
This commit is contained in:
Manuel McLure 2021-09-24 19:08:07 -07:00 committed by Scott Lahteine
parent d338872e85
commit bcd2a483da
2 changed files with 2 additions and 2 deletions

View file

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

View file

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