Replace block.busy with a block.flag bit
This commit is contained in:
parent
c7f22f688f
commit
75dbb71dd7
3 changed files with 35 additions and 30 deletions
|
|
@ -344,7 +344,7 @@ void Stepper::isr() {
|
|||
// Anything in the buffer?
|
||||
current_block = planner.get_current_block();
|
||||
if (current_block) {
|
||||
current_block->busy = true;
|
||||
SBI(current_block->flag, BLOCK_BIT_BUSY);
|
||||
trapezoid_generator_reset();
|
||||
|
||||
// Initialize Bresenham counters to 1/2 the ceiling
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue