瀏覽代碼

st_synchronize back to normal..

Bernhard 13 年之前
父節點
當前提交
b1d84d879b
共有 1 個檔案被更改,包括 1 行新增3 行删除
  1. 1
    3
      Marlin/stepper.cpp

+ 1
- 3
Marlin/stepper.cpp 查看文件

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…
取消
儲存