Browse Source

Add precision to planner.xy_skew_factor so it doesn't print as 0.00

pull/1/head
Roxy-3D 7 years ago
committed by GitHub
parent
commit
a5dfe08a81
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Marlin/src/gcode/calibrate/M852.cpp

4
Marlin/src/gcode/calibrate/M852.cpp

@ -93,7 +93,9 @@ void GcodeSuite::M852() {
if (!ijk) {
SERIAL_ECHO_START();
SERIAL_ECHOPAIR(MSG_SKEW_FACTOR " XY: ", planner.xy_skew_factor);
SERIAL_ECHO(MSG_SKEW_FACTOR " XY: ");
SERIAL_ECHO_F(planner.xy_skew_factor, 6);
SERIAL_EOL();
#if ENABLED(SKEW_CORRECTION_FOR_Z)
SERIAL_ECHOPAIR(" XZ: ", planner.xz_skew_factor);
SERIAL_ECHOLNPAIR(" YZ: ", planner.yz_skew_factor);

Loading…
Cancel
Save