Merge pull request #1575 from mkbel/add_ramming_eject
Add filament ramming to eject filament.
This commit is contained in:
commit
e14e4be94e
1 changed files with 1 additions and 3 deletions
|
@ -1436,9 +1436,7 @@ bFilamentAction=false; // NOT in "mmu_fil_eject_menu(
|
||||||
LcdUpdateDisabler disableLcdUpdate;
|
LcdUpdateDisabler disableLcdUpdate;
|
||||||
lcd_clear();
|
lcd_clear();
|
||||||
lcd_set_cursor(0, 1); lcd_puts_P(_i("Ejecting filament"));
|
lcd_set_cursor(0, 1); lcd_puts_P(_i("Ejecting filament"));
|
||||||
current_position[E_AXIS] -= 80;
|
mmu_filament_ramming();
|
||||||
plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], 2500 / 60, active_extruder);
|
|
||||||
st_synchronize();
|
|
||||||
mmu_command(MmuCmd::E0 + filament);
|
mmu_command(MmuCmd::E0 + filament);
|
||||||
manage_response(false, false, MMU_UNLOAD_MOVE);
|
manage_response(false, false, MMU_UNLOAD_MOVE);
|
||||||
if (recover)
|
if (recover)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue