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

Loading…
Cancel
Save