From 1761cacaa13ef63841577e5e8e21ab3ce6869baf Mon Sep 17 00:00:00 2001 From: Roxy-3D Date: Thu, 4 Jan 2018 16:07:20 -0600 Subject: [PATCH] Add precision to planner:xy_skew so it doesn't print as 0.00 --- Marlin/configuration_store.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Marlin/configuration_store.cpp b/Marlin/configuration_store.cpp index 4f744ab90b..38cd617047 100644 --- a/Marlin/configuration_store.cpp +++ b/Marlin/configuration_store.cpp @@ -2097,11 +2097,14 @@ void MarlinSettings::reset() { } CONFIG_ECHO_START; #if ENABLED(SKEW_CORRECTION_FOR_Z) - SERIAL_ECHOPAIR(" M852 I", LINEAR_UNIT(planner.xy_skew_factor)); + SERIAL_ECHO(" M852 I"); + SERIAL_ECHO_F(LINEAR_UNIT(planner.xy_skew_factor),6); SERIAL_ECHOPAIR(" J", LINEAR_UNIT(planner.xz_skew_factor)); SERIAL_ECHOLNPAIR(" K", LINEAR_UNIT(planner.yz_skew_factor)); #else - SERIAL_ECHOLNPAIR(" M852 S", LINEAR_UNIT(planner.xy_skew_factor)); + SERIAL_ECHO(" M852 S"); + SERIAL_ECHO_F(planner.xy_skew_factor, 6); + SERIAL_ECHO("\n"); #endif #endif