浏览代码

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

Roxy-3D 6 年前
父节点
当前提交
19e75ccf86
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5
    2
      Marlin/src/module/configuration_store.cpp

+ 5
- 2
Marlin/src/module/configuration_store.cpp 查看文件

@@ -2031,11 +2031,14 @@ void MarlinSettings::reset() {
2031 2031
       }
2032 2032
       CONFIG_ECHO_START;
2033 2033
       #if ENABLED(SKEW_CORRECTION_FOR_Z)
2034
-        SERIAL_ECHOPAIR("  M852 I", LINEAR_UNIT(planner.xy_skew_factor));
2034
+        SERIAL_ECHO("  M852 I");
2035
+        SERIAL_ECHO_F(LINEAR_UNIT(planner.xy_skew_factor),6);
2035 2036
         SERIAL_ECHOPAIR(" J", LINEAR_UNIT(planner.xz_skew_factor));
2036 2037
         SERIAL_ECHOLNPAIR(" K", LINEAR_UNIT(planner.yz_skew_factor));
2037 2038
       #else
2038
-        SERIAL_ECHOLNPAIR("  M852 S", LINEAR_UNIT(planner.xy_skew_factor));
2039
+        SERIAL_ECHO("  M852 S");
2040
+        SERIAL_ECHO_F(planner.xy_skew_factor, 6);
2041
+        SERIAL_ECHO("\n");
2039 2042
       #endif
2040 2043
     #endif
2041 2044
 

正在加载...
取消
保存