Make max_e_jerk an array to reduce CPU usage (#11118)

This commit is contained in:
Andy Shaw
2018-06-27 03:38:31 +01:00
committed by Scott Lahteine
parent d13f76b7da
commit 3b3029c4bf
5 changed files with 29 additions and 8 deletions

View File

@ -136,7 +136,7 @@ void GcodeSuite::M205() {
const float junc_dev = parser.value_linear_units();
if (WITHIN(junc_dev, 0.01, 0.3)) {
planner.junction_deviation_mm = junc_dev;
planner.recalculate_max_e_jerk_factor();
planner.recalculate_max_e_jerk();
}
else {
SERIAL_ERROR_START();