Browse Source

Single home Axis Delta need simple sync_plan_position

MagoKimbra 9 years ago
parent
commit
570f3bbc07
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      Marlin/Marlin_main.cpp

+ 4
- 4
Marlin/Marlin_main.cpp View File

@@ -2340,7 +2340,7 @@ static void homeaxis(AxisEnum axis) {
2340 2340
 
2341 2341
     // Set the axis position as setup for the move
2342 2342
     current_position[axis] = 0;
2343
-    SYNC_PLAN_POSITION_KINEMATIC();
2343
+    sync_plan_position();
2344 2344
 
2345 2345
     // Homing Z towards the bed? Deploy the Z probe or endstop.
2346 2346
     #if HAS_BED_PROBE
@@ -2365,7 +2365,7 @@ static void homeaxis(AxisEnum axis) {
2365 2365
 
2366 2366
     // Set the axis position as setup for the move
2367 2367
     current_position[axis] = 0;
2368
-    SYNC_PLAN_POSITION_KINEMATIC();
2368
+    sync_plan_position();
2369 2369
 
2370 2370
     #if ENABLED(DEBUG_LEVELING_FEATURE)
2371 2371
       if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPGM("> endstops.enable(false)");
@@ -2406,7 +2406,7 @@ static void homeaxis(AxisEnum axis) {
2406 2406
           lockZ1 = (z_endstop_adj < 0);
2407 2407
 
2408 2408
         if (lockZ1) stepper.set_z_lock(true); else stepper.set_z2_lock(true);
2409
-        SYNC_PLAN_POSITION_KINEMATIC();
2409
+        sync_plan_position();
2410 2410
 
2411 2411
         // Move to the adjusted endstop height
2412 2412
         feedrate = homing_feedrate[axis];
@@ -2426,7 +2426,7 @@ static void homeaxis(AxisEnum axis) {
2426 2426
           if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPGM("> endstops.enable(false)");
2427 2427
         #endif
2428 2428
         endstops.enable(false); // Disable endstops while moving away
2429
-        SYNC_PLAN_POSITION_KINEMATIC();
2429
+        sync_plan_position();
2430 2430
         destination[axis] = endstop_adj[axis];
2431 2431
         #if ENABLED(DEBUG_LEVELING_FEATURE)
2432 2432
           if (DEBUGGING(LEVELING)) {

Loading…
Cancel
Save