1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-24 12:35:51 +00:00

Add precision to planner:xy_skew so it doesn't print as 0.00

This commit is contained in:
Roxy-3D 2018-01-04 16:07:20 -06:00 committed by GitHub
parent f33b405152
commit 1761cacaa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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