chiark / gitweb /
st_synchronize back to normal..
authorBernhard <bkubicek@x201.(none)>
Fri, 9 Dec 2011 15:13:58 +0000 (16:13 +0100)
committerBernhard <bkubicek@x201.(none)>
Fri, 9 Dec 2011 15:13:58 +0000 (16:13 +0100)
Marlin/stepper.cpp

index 2ef077346c8d0a8c3653f87a80f758ef7c094b9d..33c7e154c1c2866db960aad9cb59741199fb9b3c 100644 (file)
@@ -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);
   }
 }