Browse Source

no need to use destination in do_pause_e_move

Scott Lahteine 6 years ago
parent
commit
cf0b9eb37c
1 changed files with 2 additions and 4 deletions
  1. 2
    4
      Marlin/src/feature/pause.cpp

+ 2
- 4
Marlin/src/feature/pause.cpp View File

113
 }
113
 }
114
 
114
 
115
 static void do_pause_e_move(const float &length, const float &fr) {
115
 static void do_pause_e_move(const float &length, const float &fr) {
116
-  set_destination_from_current();
117
-  destination[E_AXIS] += length / planner.e_factor[active_extruder];
118
-  planner.buffer_line(destination, fr, active_extruder);
119
-  set_current_from_destination();
116
+  current_position[E_AXIS] += length / planner.e_factor[active_extruder];
117
+  planner.buffer_line(current_position, fr, active_extruder);
120
   planner.synchronize();
118
   planner.synchronize();
121
 }
119
 }
122
 
120
 

Loading…
Cancel
Save