Fixed a number of bugs caused by using abs() on floats and long ints. Added support for selectively inverting bits of the stepping port. Debugged, optimized and cleaned up timing code for the step-pulses.

This commit is contained in:
Simen Svale Skogsrud
2010-02-27 19:55:09 +01:00
parent 6ac3b3f2e6
commit a42c03601d
14 changed files with 4430 additions and 106 deletions

View File

@ -42,7 +42,7 @@ uint8_t st_bit_for_stepper(int axis);
void st_buffer_pace(uint32_t microseconds);
// Buffer a new instruction for the steppers
void st_buffer_step(uint8_t motor_port_bits);
inline void st_buffer_step(uint8_t motor_port_bits);
// Block until all buffered steps are executed
void st_synchronize();