Make max_e_jerk an array to save CPU (#11121)

Co-Authored-By: gloomyandy <andy-git@gloomy-place.com>
This commit is contained in:
Scott Lahteine 2018-06-26 22:09:38 -04:00 committed by GitHub
parent 0a2d3ecfd4
commit 4d5c655f8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 29 additions and 8 deletions

View file

@ -9174,7 +9174,7 @@ inline void gcode_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();