From 072011a3ef6f9e80c83bb45d4566fe31dc2adbab Mon Sep 17 00:00:00 2001 From: Erik van der Zalm Date: Sat, 3 Mar 2012 20:40:46 +0100 Subject: [PATCH] Added current_block = NULL to quickStop() --- Marlin/stepper.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Marlin/stepper.cpp b/Marlin/stepper.cpp index e2288cfb24..5ad2b1ee51 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(); }