diff --git a/grbl/stepper.c b/grbl/stepper.c index 792b083ce..dd20a9e66 100644 --- a/grbl/stepper.c +++ b/grbl/stepper.c @@ -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;