Browse Source

sync_plan_position_delta => sync_plan_position_kinematic

Scott Lahteine 8 years ago
parent
commit
d4f21af6b3
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/Marlin_main.cpp

+ 3
- 3
Marlin/Marlin_main.cpp View File

660
 inline void sync_plan_position_e() { planner.set_e_position_mm(current_position[E_AXIS]); }
660
 inline void sync_plan_position_e() { planner.set_e_position_mm(current_position[E_AXIS]); }
661
 
661
 
662
 #if IS_KINEMATIC
662
 #if IS_KINEMATIC
663
-  inline void sync_plan_position_delta() {
663
+  inline void sync_plan_position_kinematic() {
664
     #if ENABLED(DEBUG_LEVELING_FEATURE)
664
     #if ENABLED(DEBUG_LEVELING_FEATURE)
665
-      if (DEBUGGING(LEVELING)) DEBUG_POS("sync_plan_position_delta", current_position);
665
+      if (DEBUGGING(LEVELING)) DEBUG_POS("sync_plan_position_kinematic", current_position);
666
     #endif
666
     #endif
667
     inverse_kinematics(current_position);
667
     inverse_kinematics(current_position);
668
     planner.set_position_mm(delta[X_AXIS], delta[Y_AXIS], delta[Z_AXIS], current_position[E_AXIS]);
668
     planner.set_position_mm(delta[X_AXIS], delta[Y_AXIS], delta[Z_AXIS], current_position[E_AXIS]);
669
   }
669
   }
670
-  #define SYNC_PLAN_POSITION_KINEMATIC() sync_plan_position_delta()
670
+  #define SYNC_PLAN_POSITION_KINEMATIC() sync_plan_position_kinematic()
671
 #else
671
 #else
672
   #define SYNC_PLAN_POSITION_KINEMATIC() sync_plan_position()
672
   #define SYNC_PLAN_POSITION_KINEMATIC() sync_plan_position()
673
 #endif
673
 #endif

Loading…
Cancel
Save