Sfoglia il codice sorgente

Remove useless line from stepper ISR

The flag is already set inside planner.get_current_block(). Doing it
twice isn't making it better..
Sebastianv650 8 anni fa
parent
commit
cdc18f8c22
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0
    1
      Marlin/stepper.cpp

+ 0
- 1
Marlin/stepper.cpp Vedi File

@@ -343,7 +343,6 @@ void Stepper::isr() {
343 343
     // Anything in the buffer?
344 344
     current_block = planner.get_current_block();
345 345
     if (current_block) {
346
-      SBI(current_block->flag, BLOCK_BIT_BUSY);
347 346
       trapezoid_generator_reset();
348 347
 
349 348
       // Initialize Bresenham counters to 1/2 the ceiling

Loading…
Annulla
Salva