Skip to content

Commit

Permalink
Fix acceleration issue after probing cycle
Browse files Browse the repository at this point in the history
  • Loading branch information
mhlong10 committed Jul 10, 2020
1 parent 9fd1dae commit ed0fb44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion g2core/cycle_probing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ static void _probe_restore_settings()
gpio_set_probing_mode(pb.probe_input, false); // set input back to normal operation

for (uint8_t axis = 0; axis < AXES; axis++) { // restore axis jerks
cm->a[axis].jerk_max = pb.saved_jerk[axis];
cm_set_axis_max_jerk(axis, pb.saved_jerk[axis]);
}
cm_set_absolute_override(MODEL, ABSOLUTE_OVERRIDE_OFF); // release abs override and restore work offsets
cm_set_distance_mode(pb.saved_distance_mode);
Expand Down

0 comments on commit ed0fb44

Please sign in to comment.