Browse Source

Added current_block = NULL to quickStop()

pull/1/head
Erik van der Zalm 13 years ago
parent
commit
072011a3ef
  1. 1
      Marlin/stepper.cpp

1
Marlin/stepper.cpp

@ -822,6 +822,7 @@ void quickStop()
DISABLE_STEPPER_DRIVER_INTERRUPT(); DISABLE_STEPPER_DRIVER_INTERRUPT();
while(blocks_queued()) while(blocks_queued())
plan_discard_current_block(); plan_discard_current_block();
current_block = NULL;
ENABLE_STEPPER_DRIVER_INTERRUPT(); ENABLE_STEPPER_DRIVER_INTERRUPT();
} }

Loading…
Cancel
Save