Browse Source

st_synchronize back to normal..

Bernhard 13 years ago
parent
commit
b1d84d879b
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      Marlin/stepper.cpp

+ 1
- 3
Marlin/stepper.cpp View File

@@ -707,15 +707,13 @@ void st_init()
707 707
 }
708 708
 
709 709
 
710
-#include <util/delay.h>
711 710
 // Block until all buffered steps are executed
712 711
 void st_synchronize()
713 712
 {
714
-  while(current_block!=0 || blocks_queued()) {
713
+    while( blocks_queued()) {
715 714
     manage_heater();
716 715
     manage_inactivity(1);
717 716
     LCD_STATUS;
718
-    //_delay_ms(1);
719 717
   }
720 718
 }
721 719
 

Loading…
Cancel
Save