Skip to content

Commit

Permalink
Fixed the step jumping problem on A axis
Browse files Browse the repository at this point in the history
See: gnea#15
  • Loading branch information
dguerizec committed May 19, 2017
1 parent 7e10c43 commit 0046fa9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions grbl/stepper.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,9 @@ ISR(TIMER1_COMPA_vect)

// Initialize Bresenham line and distance counters
st.counter_x = st.counter_y = st.counter_z = (st.exec_block->step_event_count >> 1);
#ifdef A_AXIS
st.counter_a = st.counter_x;
#endif
}
st.dir_outbits = st.exec_block->direction_bits ^ dir_port_invert_mask;

Expand Down

0 comments on commit 0046fa9

Please sign in to comment.