|
@@ -220,10 +220,7 @@ MarlinSettings settings;
|
220
|
220
|
* Post-process after Retrieve or Reset
|
221
|
221
|
*/
|
222
|
222
|
void MarlinSettings::postprocess() {
|
223
|
|
- const float oldpos[XYZE] = {
|
224
|
|
- current_position[X_AXIS], current_position[Y_AXIS],
|
225
|
|
- current_position[Z_AXIS], current_position[E_AXIS]
|
226
|
|
- };
|
|
223
|
+ const float oldpos[] = { current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS] };
|
227
|
224
|
|
228
|
225
|
// steps per s2 needs to be updated to agree with units per s2
|
229
|
226
|
planner.reset_acceleration_rates();
|