Scott Lahteine 7 years ago
parent
commit
1746749361
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      Marlin/src/module/delta.cpp

+ 6
- 6
Marlin/src/module/delta.cpp View File

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…
Cancel
Save