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

2.0.x
Roxy-3D 7 years ago committed by GitHub
parent 0e93506985
commit 19e75ccf86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2031,11 +2031,14 @@ void MarlinSettings::reset() {
} }
CONFIG_ECHO_START; CONFIG_ECHO_START;
#if ENABLED(SKEW_CORRECTION_FOR_Z) #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_ECHOPAIR(" J", LINEAR_UNIT(planner.xz_skew_factor));
SERIAL_ECHOLNPAIR(" K", LINEAR_UNIT(planner.yz_skew_factor)); SERIAL_ECHOLNPAIR(" K", LINEAR_UNIT(planner.yz_skew_factor));
#else #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
#endif #endif

Loading…
Cancel
Save