Merge pull request #1303 from PavelSindler/m600_idler

M600: move extruder to the left to make space for idler opening
This commit is contained in:
PavelSindler 2018-11-05 10:38:51 +01:00 committed by GitHub
commit 7e43b15b54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2975,8 +2975,17 @@ static void gcode_M600(bool automatic, float x_position, float y_position, float
lcd_change_fil_state = lcd_show_fullscreen_message_yes_no_and_wait_P(_i("Was filament unload successful?"),
false, true); ////MSG_UNLOAD_SUCCESSFUL c=20 r=2
if (lcd_change_fil_state == 0)
lcd_show_fullscreen_message_and_wait_P(_i("Please open idler and remove filament manually."));////MSG_CHECK_IDLER c=20 r=4
lcd_update_enable(true);
{
lcd_clear();
lcd_set_cursor(0, 2);
lcd_puts_P(_T(MSG_PLEASE_WAIT));
current_position[X_AXIS] -= 100;
plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS],
current_position[E_AXIS], FILAMENTCHANGE_XYFEED, active_extruder);
st_synchronize();
lcd_show_fullscreen_message_and_wait_P(_i("Please open idler and remove filament manually."));////MSG_CHECK_IDLER c=20 r=4
lcd_update_enable(true);
}
}
if (mmu_enabled)