Skip to content

Commit

Permalink
…corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Feb 15, 2022
1 parent ff796f4 commit 57b87fa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Marlin/src/gcode/bedlevel/abl/M423.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,14 @@ void GcodeSuite::M423() {
void GcodeSuite::M423_report(const bool forReplay/*=true*/) {
report_heading(forReplay, F("X-Twist Correction"));
LOOP_L_N(x, XATC_MAX_POINTS) {
const float z = z_offset[x];
const float z = xatc.z_offset[x];
SERIAL_ECHOPGM(" M423 X", x, " Z");
if (isnan(z))
SERIAL_CHAR('0', '\n');
else {
if (z >= 0) SERIAL_CHAR('+');
SERIAL_ECHOLN_F(z, 3);
SERIAL_ECHO_F(z, 3);
SERIAL_EOL();
}
}
}
Expand Down

0 comments on commit 57b87fa

Please sign in to comment.