Normalize load/unload length in M600

This commit is contained in:
Thomas Moore
2017-11-09 22:50:32 -06:00
committed by Scott Lahteine
parent 81b91b3f9d
commit 600c85226e
3 changed files with 33 additions and 26 deletions

View File

@ -94,7 +94,7 @@ static void ensure_safe_temperature() {
}
void do_pause_e_move(const float &length, const float fr) {
current_position[E_AXIS] += length;
current_position[E_AXIS] += length * 100.0 / planner.flow_percentage[active_extruder] / planner.volumetric_multiplier[active_extruder];
set_destination_from_current();
#if IS_KINEMATIC
planner.buffer_line_kinematic(destination, fr, active_extruder);