Skip to content

Commit

Permalink
Fix pwm issue with backlash #75
Browse files Browse the repository at this point in the history
  • Loading branch information
Schildkroet authored Dec 16, 2021
1 parent c64d012 commit c3a92a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grbl/MotionControl.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ void MC_Line(float *target, Planner_LineData_t *pl_data)

#ifdef ENABLE_BACKLASH_COMPENSATION
pl_backlash.backlash_motion = 1;
pl_backlash.condition = PL_COND_FLAG_RAPID_MOTION; // Set rapid motion condition flag.
pl_backlash.condition = pl_data->condition | PL_COND_FLAG_RAPID_MOTION; // Set rapid motion condition flag.

// Backlash compensation (not for A & B)
for(uint8_t i = 0; i < N_LINEAR_AXIS; i++)
Expand Down

0 comments on commit c3a92a8

Please sign in to comment.