no need to use destination in do_pause_e_move
This commit is contained in:
parent
e8d677620c
commit
cf0b9eb37c
@ -113,10 +113,8 @@ static bool ensure_safe_temperature(const AdvancedPauseMode mode=ADVANCED_PAUSE_
|
||||
}
|
||||
|
||||
static void do_pause_e_move(const float &length, const float &fr) {
|
||||
set_destination_from_current();
|
||||
destination[E_AXIS] += length / planner.e_factor[active_extruder];
|
||||
planner.buffer_line(destination, fr, active_extruder);
|
||||
set_current_from_destination();
|
||||
current_position[E_AXIS] += length / planner.e_factor[active_extruder];
|
||||
planner.buffer_line(current_position, fr, active_extruder);
|
||||
planner.synchronize();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user