Skip to content

Commit

Permalink
Merge pull request #475 from mhlong10/edge
Browse files Browse the repository at this point in the history
Fix acceleration issue after probing cycle
  • Loading branch information
giseburt authored Jul 14, 2020
2 parents c684edc + ed0fb44 commit 72e49fb
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 72e49fb

Please sign in to comment.