From 524f48ffc6ddd56ba07986ad3cad57cd1ad024e3 Mon Sep 17 00:00:00 2001 From: Maeyanie Date: Mon, 31 Jan 2022 16:43:39 -0500 Subject: [PATCH] Fix M852 reporting as M851 When running M503, or M852 without an argument, Marlin reports the command as M851. That's an entirely different command, and while M851 may be used more often, M852 is a valuable member of society and should be encouraged to accept its identity instead of denying it and trying to impersonate someone else. --- Marlin/src/gcode/calibrate/M852.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/gcode/calibrate/M852.cpp b/Marlin/src/gcode/calibrate/M852.cpp index b24a449652a3..6c661dcd61d9 100644 --- a/Marlin/src/gcode/calibrate/M852.cpp +++ b/Marlin/src/gcode/calibrate/M852.cpp @@ -93,7 +93,7 @@ void GcodeSuite::M852() { void GcodeSuite::M852_report(const bool forReplay/*=true*/) { report_heading_etc(forReplay, F(STR_SKEW_FACTOR)); - SERIAL_ECHOPAIR_F(" M851 I", planner.skew_factor.xy, 6); + SERIAL_ECHOPAIR_F(" M852 I", planner.skew_factor.xy, 6); #if ENABLED(SKEW_CORRECTION_FOR_Z) SERIAL_ECHOPAIR_F(" J", planner.skew_factor.xz, 6); SERIAL_ECHOPAIR_F(" K", planner.skew_factor.yz, 6);