瀏覽代碼

Update ubl_motion.cpp

Restore necessary and needed loop termination logic.
Roxy-3D 7 年之前
父節點
當前提交
23635c2b64
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      Marlin/src/feature/bedlevel/ubl/ubl_motion.cpp

+ 1
- 1
Marlin/src/feature/bedlevel/ubl/ubl_motion.cpp 查看文件

347
         xi_cnt--;
347
         xi_cnt--;
348
       }
348
       }
349
 
349
 
350
-      //if (xi_cnt < 0 || yi_cnt < 0) break; // Too far! Exit the loop and go to FINAL_MOVE
350
+      if (xi_cnt < 0 || yi_cnt < 0) break; // Too far! Exit the loop and go to FINAL_MOVE
351
     }
351
     }
352
 
352
 
353
     if (g26_debug_flag)
353
     if (g26_debug_flag)

Loading…
取消
儲存