mirror of
https://github.com/grblHAL/core.git
synced 2026-03-27 02:36:04 +08:00
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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user