From 53745446f9ac97acd16115e3dc8ed91656d26e1c Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 21 Jun 2018 21:38:41 -0400 Subject: [PATCH] Fix LIN_ADVANCE max_e_jerk_factor According to https://github.com/MarlinFirmware/Marlin/issues/9917#issuecomment-399204568 --- Marlin/planner.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/planner.h b/Marlin/planner.h index 7bc99312c4..2f64e110fc 100644 --- a/Marlin/planner.h +++ b/Marlin/planner.h @@ -739,7 +739,7 @@ class Planner { #if ENABLED(JUNCTION_DEVIATION) FORCE_INLINE static void recalculate_max_e_jerk_factor() { #if ENABLED(LIN_ADVANCE) - max_e_jerk_factor = SQRT(SQRT(0.5) * junction_deviation_mm) * RECIPROCAL(1.0 - SQRT(0.5)); + max_e_jerk_factor = SQRT(SQRT(0.5) * junction_deviation_mm * RECIPROCAL(1.0 - SQRT(0.5))); #endif } #endif