Fix LIN_ADVANCE max_e_jerk_factor

According to https://github.com/MarlinFirmware/Marlin/issues/9917#issuecomment-399204568
This commit is contained in:
Scott Lahteine 2018-06-21 22:01:54 -04:00
parent 99591dc20c
commit 50b6204079

View file

@ -752,7 +752,7 @@ class Planner {
#if ENABLED(JUNCTION_DEVIATION) #if ENABLED(JUNCTION_DEVIATION)
FORCE_INLINE static void recalculate_max_e_jerk_factor() { FORCE_INLINE static void recalculate_max_e_jerk_factor() {
#if ENABLED(LIN_ADVANCE) #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
} }
#endif #endif