Fixes for backlash compensation: no longer resets current direction on a soft reset/stop, added handling of backlash setting changes per axis.

This commit is contained in:
Terje Io
2022-02-11 18:50:21 +01:00
parent 0fd41b49bf
commit fce9920936
10 changed files with 40 additions and 31 deletions

View File

@@ -263,9 +263,7 @@ int grbl_enter (void)
plan_reset(); // Clear block buffer and planner variables
st_reset(); // Clear stepper subsystem variables.
limits_set_homing_axes(); // Set axes to be homed from settings.
#ifdef ENABLE_BACKLASH_COMPENSATION
mc_backlash_init(); // Init backlash configuration.
#endif
// Sync cleared gcode and planner positions to current system position.
sync_position();