From: Erik van der Zalm Date: Sat, 3 Mar 2012 19:40:46 +0000 (+0100) Subject: Added current_block = NULL to quickStop() X-Git-Tag: iwj-success-2012-07-29~74 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=072011a3ef6f9e80c83bb45d4566fe31dc2adbab;p=marlin.git Added current_block = NULL to quickStop() --- diff --git a/Marlin/stepper.cpp b/Marlin/stepper.cpp index e2288cf..5ad2b1e 100644 --- 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(); }