From b1d84d879b7ddb6119ce7c8a5ce2c8df9986636e Mon Sep 17 00:00:00 2001
From: Bernhard <bkubicek@x201.(none)>
Date: Fri, 9 Dec 2011 16:13:58 +0100
Subject: [PATCH] st_synchronize back to normal..

---
 Marlin/stepper.cpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/Marlin/stepper.cpp b/Marlin/stepper.cpp
index 2ef077346c..33c7e154c1 100644
--- a/Marlin/stepper.cpp
+++ b/Marlin/stepper.cpp
@@ -707,15 +707,13 @@ void st_init()
 }
 
 
-#include <util/delay.h>
 // 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);
   }
 }
 
-- 
GitLab