From: Bernhard Date: Fri, 9 Dec 2011 15:13:58 +0000 (+0100) Subject: st_synchronize back to normal.. X-Git-Tag: iwj-success-2012-07-29~150 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=b1d84d879b7ddb6119ce7c8a5ce2c8df9986636e;p=marlin.git st_synchronize back to normal.. --- diff --git a/Marlin/stepper.cpp b/Marlin/stepper.cpp index 2ef0773..33c7e15 100644 --- a/Marlin/stepper.cpp +++ b/Marlin/stepper.cpp @@ -707,15 +707,13 @@ void st_init() } -#include // Block until all buffered steps are executed void st_synchronize() { - while(current_block!=0 || blocks_queued()) { + while( blocks_queued()) { manage_heater(); manage_inactivity(1); LCD_STATUS; - //_delay_ms(1); } }