Browse Source

✨ Allow Low EJERK with LA, optional (#23054)

Keith Bennett 2 years ago
parent
commit
a57355ee06
No account linked to committer's email address
2 changed files with 3 additions and 2 deletions
  1. 1
    0
      Marlin/Configuration_adv.h
  2. 2
    2
      Marlin/src/inc/SanityCheck.h

+ 1
- 0
Marlin/Configuration_adv.h View File

@@ -1913,6 +1913,7 @@
1913 1913
   #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1914 1914
   //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1915 1915
   //#define EXPERIMENTAL_SCURVE // Enable this option to permit S-Curve Acceleration
1916
+  //#define ALLOW_LOW_EJERK     // Allow a DEFAULT_EJERK value of <10. Recommended for direct drive hotends.
1916 1917
 #endif
1917 1918
 
1918 1919
 // @section leveling

+ 2
- 2
Marlin/src/inc/SanityCheck.h View File

@@ -1246,8 +1246,8 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
1246 1246
     #error "LIN_ADVANCE and S_CURVE_ACCELERATION may not play well together! Enable EXPERIMENTAL_SCURVE to continue."
1247 1247
   #elif ENABLED(DIRECT_STEPPING)
1248 1248
     #error "DIRECT_STEPPING is incompatible with LIN_ADVANCE. Enable in external planner if possible."
1249
-  #elif !HAS_JUNCTION_DEVIATION && defined(DEFAULT_EJERK)
1250
-    static_assert(DEFAULT_EJERK >= 10, "It is strongly recommended to set DEFAULT_EJERK >= 10 when using LIN_ADVANCE.");
1249
+  #elif NONE(HAS_JUNCTION_DEVIATION, ALLOW_LOW_EJERK) && defined(DEFAULT_EJERK)
1250
+    static_assert(DEFAULT_EJERK >= 10, "It is strongly recommended to set DEFAULT_EJERK >= 10 when using LIN_ADVANCE. Enable ALLOW_LOW_EJERK to bypass this alert (e.g., for direct drive).");
1251 1251
   #endif
1252 1252
 #endif
1253 1253
 

Loading…
Cancel
Save