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 21:38:41 -04:00
parent 52f5efb78d
commit 53745446f9

View File

@ -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