Skip to content

Commit bc2812f

Browse files
committed
Allow Low EJERK with LA
1 parent 5e9b5bb commit bc2812f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Marlin/Configuration_adv.h

+1
Original file line numberDiff line numberDiff line change
@@ -1913,6 +1913,7 @@
19131913
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
19141914
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
19151915
//#define EXPERIMENTAL_SCURVE // Enable this option to permit S-Curve Acceleration
1916+
//#define ALLOW_LOW_EJERK // Allow a DEFAULT_EJERK value of <10. Enabled for direct drive hotends.
19161917
#endif
19171918

19181919
// @section leveling

Marlin/src/inc/SanityCheck.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1242,7 +1242,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
12421242
#error "LIN_ADVANCE and S_CURVE_ACCELERATION may not play well together! Enable EXPERIMENTAL_SCURVE to continue."
12431243
#elif ENABLED(DIRECT_STEPPING)
12441244
#error "DIRECT_STEPPING is incompatible with LIN_ADVANCE. Enable in external planner if possible."
1245-
#elif !HAS_JUNCTION_DEVIATION && defined(DEFAULT_EJERK)
1245+
#elif !HAS_JUNCTION_DEVIATION && defined(DEFAULT_EJERK) && DISABLED(ALLOW_LOW_EJERK)
12461246
static_assert(DEFAULT_EJERK >= 10, "It is strongly recommended to set DEFAULT_EJERK >= 10 when using LIN_ADVANCE.");
12471247
#endif
12481248
#endif

0 commit comments

Comments
 (0)