浏览代码

Fix compile error with JUNCTION_DEVIATION

See #13000
Scott Lahteine 6 年前
父节点
当前提交
3c9a7926c2
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9
    0
      Marlin/src/module/configuration_store.cpp

+ 9
- 0
Marlin/src/module/configuration_store.cpp 查看文件

@@ -2036,6 +2036,15 @@ void MarlinSettings::reset(PORTARG_SOLO) {
2036 2036
   planner.settings.min_travel_feedrate_mm_s = DEFAULT_MINTRAVELFEEDRATE;
2037 2037
 
2038 2038
   #if HAS_CLASSIC_JERK
2039
+    #ifndef DEFAULT_XJERK
2040
+      #define DEFAULT_XJERK 0
2041
+    #endif
2042
+    #ifndef DEFAULT_YJERK
2043
+      #define DEFAULT_YJERK 0
2044
+    #endif
2045
+    #ifndef DEFAULT_ZJERK
2046
+      #define DEFAULT_ZJERK 0
2047
+    #endif
2039 2048
     planner.max_jerk[X_AXIS] = DEFAULT_XJERK;
2040 2049
     planner.max_jerk[Y_AXIS] = DEFAULT_YJERK;
2041 2050
     planner.max_jerk[Z_AXIS] = DEFAULT_ZJERK;

正在加载...
取消
保存