chiark
/
gitweb
/
~ianmdlvl
/
marlin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f598077
)
Added current_block = NULL to quickStop()
author
Erik van der Zalm
<erik@vdzalm.eu>
Sat, 3 Mar 2012 19:40:46 +0000
(20:40 +0100)
committer
Erik van der Zalm
<erik@vdzalm.eu>
Sat, 3 Mar 2012 19:40:46 +0000
(20:40 +0100)
Marlin/stepper.cpp
patch
|
blob
|
history
diff --git
a/Marlin/stepper.cpp
b/Marlin/stepper.cpp
index e2288cfb24bc721d72be4494bdbc11940ae29192..5ad2b1ee51c64b8950cf5b234b1f9cc6b4db5291 100644
(file)
--- a/
Marlin/stepper.cpp
+++ b/
Marlin/stepper.cpp
@@
-822,6
+822,7
@@
void quickStop()
DISABLE_STEPPER_DRIVER_INTERRUPT();
while(blocks_queued())
plan_discard_current_block();
+ current_block = NULL;
ENABLE_STEPPER_DRIVER_INTERRUPT();
}