Procházet zdrojové kódy

Fix compile error with JUNCTION_DEVIATION

See #13000
Scott Lahteine před 6 roky
rodič
revize
3c9a7926c2
1 změnil soubory, kde provedl 9 přidání a 0 odebrání
  1. 9
    0
      Marlin/src/module/configuration_store.cpp

+ 9
- 0
Marlin/src/module/configuration_store.cpp Zobrazit soubor

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

Loading…
Zrušit
Uložit