Browse Source

Rename some movement sub-functions

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

+ 4
- 4
Marlin/Marlin_main.cpp View File

@@ -7537,7 +7537,7 @@ void mesh_buffer_line(float x, float y, float z, const float e, float feed_rate,
7537 7537
 
7538 7538
 #if ENABLED(DUAL_X_CARRIAGE)
7539 7539
 
7540
-  inline bool prepare_move_dual_x_carriage() {
7540
+  inline bool prepare_move_to_destination_dualx() {
7541 7541
     if (active_extruder_parked) {
7542 7542
       if (dual_x_carriage_mode == DXC_DUPLICATION_MODE && active_extruder == 0) {
7543 7543
         // move duplicate extruder into correct duplication position.
@@ -7576,7 +7576,7 @@ void mesh_buffer_line(float x, float y, float z, const float e, float feed_rate,
7576 7576
 
7577 7577
 #if DISABLED(DELTA) && DISABLED(SCARA)
7578 7578
 
7579
-  inline bool prepare_cartesian_move_to_destination() {
7579
+  inline bool prepare_move_to_destination_cartesian() {
7580 7580
     // Do not use feedrate_multiplier for E or Z only moves
7581 7581
     if (current_position[X_AXIS] == destination[X_AXIS] && current_position[Y_AXIS] == destination[Y_AXIS]) {
7582 7582
       line_to_destination();
@@ -7637,9 +7637,9 @@ void prepare_move_to_destination() {
7637 7637
     if (!prepare_delta_move_to(destination)) return;
7638 7638
   #else
7639 7639
     #if ENABLED(DUAL_X_CARRIAGE)
7640
-      if (!prepare_move_dual_x_carriage()) return;
7640
+      if (!prepare_move_to_destination_dualx()) return;
7641 7641
     #endif
7642
-    if (!prepare_cartesian_move_to_destination()) return;
7642
+    if (!prepare_move_to_destination_cartesian()) return;
7643 7643
   #endif
7644 7644
 
7645 7645
   set_current_to_destination();

Loading…
Cancel
Save