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:
parent
67608a5014
commit
ea09ddba99
5 changed files with 47 additions and 24 deletions
|
|
@ -157,8 +157,7 @@ void printBlock() {
|
|||
else block_position[2]+= b->steps_z;
|
||||
fprintf(block_out_file,"%d, ", block_position[2]);
|
||||
|
||||
fprintf(block_out_file,"%f, ", b->entry_speed_sqr);
|
||||
fprintf(block_out_file,"%d", planner_steps_counter);
|
||||
fprintf(block_out_file,"%f", b->entry_speed_sqr);
|
||||
fprintf(block_out_file,"\n");
|
||||
|
||||
last_block= b;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue