Browse Source

Added current_block = NULL to quickStop()

Erik van der Zalm 13 years ago
parent
commit
072011a3ef
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      Marlin/stepper.cpp

+ 1
- 0
Marlin/stepper.cpp View File

822
   DISABLE_STEPPER_DRIVER_INTERRUPT();
822
   DISABLE_STEPPER_DRIVER_INTERRUPT();
823
   while(blocks_queued())
823
   while(blocks_queued())
824
     plan_discard_current_block();
824
     plan_discard_current_block();
825
+  current_block = NULL;
825
   ENABLE_STEPPER_DRIVER_INTERRUPT();
826
   ENABLE_STEPPER_DRIVER_INTERRUPT();
826
 }
827
 }
827
 
828
 

Loading…
Cancel
Save