1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 13:56:24 +00:00

Remove useless line from stepper ISR

The flag is already set inside planner.get_current_block(). Doing it
twice isn't making it better..
This commit is contained in:
Sebastianv650 2016-11-11 19:35:03 +01:00
parent 06f2282f82
commit cdc18f8c22

View File

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