Combine two moves since they have the same feedrate

Change in memory:
Flash: -60 bytes
SRAM: 0 bytes
This commit is contained in:
Guðni Már Gilbert 2023-05-06 14:55:44 +00:00
parent 71180ac284
commit d781dae35b
1 changed files with 1 additions and 5 deletions

View File

@ -4863,11 +4863,7 @@ void unload_filament(float unloadLength)
plan_buffer_line_curposXYZE(FILAMENT_UNLOAD_FAST_RETRACT_FEEDRATE);
st_synchronize();
current_position[E_AXIS] -= 15;
plan_buffer_line_curposXYZE(FILAMENT_UNLOAD_SLOW_RETRACT_FEEDRATE);
st_synchronize();
current_position[E_AXIS] -= 20;
current_position[E_AXIS] -= 35;
plan_buffer_line_curposXYZE(FILAMENT_UNLOAD_SLOW_RETRACT_FEEDRATE);
st_synchronize();