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

@ -22,8 +22,6 @@
#ifndef planner_h
#define planner_h
extern uint32_t planner_steps_counter;
// The number of linear motions that can be in the plan at any give time
#ifndef BLOCK_BUFFER_SIZE
#define BLOCK_BUFFER_SIZE 18