Browse Source

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

Roxy-3D 7 years ago
parent
commit
a5dfe08a81
No account linked to committer's email address
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      Marlin/src/gcode/calibrate/M852.cpp

+ 3
- 1
Marlin/src/gcode/calibrate/M852.cpp View File

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

Loading…
Cancel
Save