changed atomic access for updating the acceleration profile

the stepper interrupt is only halted when necessary and for the shortest
time possible (8% cycle time)
This commit is contained in:
Jens Geisler
2013-02-22 16:36:27 +01:00
parent 67608a5014
commit ea09ddba99
5 changed files with 47 additions and 24 deletions

View File

@ -45,6 +45,7 @@ void st_cycle_reinitialize();
// Initiates a feed hold of the running program
void st_feed_hold();
// Accessor function to query the acceleration state of the stepper
uint8_t st_is_decelerating();
#endif