From 50b6204079e9b6d4b756968543dbf4feaf49e49d Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 21 Jun 2018 22:01:54 -0400 Subject: [PATCH] Fix LIN_ADVANCE max_e_jerk_factor According to https://github.com/MarlinFirmware/Marlin/issues/9917#issuecomment-399204568 --- Marlin/src/module/planner.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/module/planner.h b/Marlin/src/module/planner.h index 0e313152dd..d981c233e2 100644 --- a/Marlin/src/module/planner.h +++ b/Marlin/src/module/planner.h @@ -752,7 +752,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