Update stepper.c

solve overrun of cycles_per_step_event