瀏覽代碼

Followup to #9868

Scott Lahteine 7 年之前
父節點
當前提交
1746749361
共有 1 個檔案被更改,包括 6 行新增6 行删除
  1. 6
    6
      Marlin/src/module/delta.cpp

+ 6
- 6
Marlin/src/module/delta.cpp 查看文件

232
 
232
 
233
   // Disable stealthChop if used. Enable diag1 pin on driver.
233
   // Disable stealthChop if used. Enable diag1 pin on driver.
234
   #if ENABLED(SENSORLESS_HOMING)
234
   #if ENABLED(SENSORLESS_HOMING)
235
-    sensorless_homing_per_axis(X_AXIS);
236
-    sensorless_homing_per_axis(Y_AXIS);
237
-    sensorless_homing_per_axis(Z_AXIS);
235
+    sensorless_homing_per_axis(A_AXIS);
236
+    sensorless_homing_per_axis(B_AXIS);
237
+    sensorless_homing_per_axis(C_AXIS);
238
   #endif
238
   #endif
239
 
239
 
240
   // Move all carriages together linearly until an endstop is hit.
240
   // Move all carriages together linearly until an endstop is hit.
245
 
245
 
246
   // Re-enable stealthChop if used. Disable diag1 pin on driver.
246
   // Re-enable stealthChop if used. Disable diag1 pin on driver.
247
   #if ENABLED(SENSORLESS_HOMING)
247
   #if ENABLED(SENSORLESS_HOMING)
248
-    sensorless_homing_per_axis(X_AXIS, false);
249
-    sensorless_homing_per_axis(Y_AXIS, false);
250
-    sensorless_homing_per_axis(Z_AXIS, false);
248
+    sensorless_homing_per_axis(A_AXIS, false);
249
+    sensorless_homing_per_axis(B_AXIS, false);
250
+    sensorless_homing_per_axis(C_AXIS, false);
251
   #endif
251
   #endif
252
 
252
 
253
   // If an endstop was not hit, then damage can occur if homing is continued.
253
   // If an endstop was not hit, then damage can occur if homing is continued.

Loading…
取消
儲存