Browse Source

Fix skew settings report precision

Scott Lahteine 6 years ago
parent
commit
adb2ac4747
1 changed files with 6 additions and 3 deletions
  1. 6
    3
      Marlin/src/module/configuration_store.cpp

+ 6
- 3
Marlin/src/module/configuration_store.cpp View File

@@ -2268,9 +2268,12 @@ void MarlinSettings::reset(
2268 2268
       #if ENABLED(SKEW_CORRECTION_FOR_Z)
2269 2269
         SERIAL_ECHO_P(port, "  M852 I");
2270 2270
         SERIAL_ECHO_F_P(port, LINEAR_UNIT(planner.xy_skew_factor), 6);
2271
-        SERIAL_ECHOPAIR_P(port, " J", LINEAR_UNIT(planner.xz_skew_factor));
2272
-        SERIAL_ECHOLNPAIR_P(port, " K", LINEAR_UNIT(planner.yz_skew_factor));
2273
-      #else
2271
+        SERIAL_ECHOPGM_P(port, " J");
2272
+        SERIAL_ECHO_F_P(port, LINEAR_UNIT(planner.xz_skew_factor), 6);
2273
+        SERIAL_ECHOPGM_P(port, " K");
2274
+        SERIAL_ECHO_F_P(port, LINEAR_UNIT(planner.yz_skew_factor), 6);
2275
+        SERIAL_EOL_P(port);
2276
+       #else
2274 2277
         SERIAL_ECHO_P(port, "  M852 S");
2275 2278
         SERIAL_ECHO_F_P(port, LINEAR_UNIT(planner.xy_skew_factor), 6);
2276 2279
         SERIAL_EOL_P(port);

Loading…
Cancel
Save