auto deplete: dont eject filament

This commit is contained in:
PavelSindler 2018-08-29 13:08:09 +02:00
parent 515e78cfd1
commit b284c70d9b
1 changed files with 10 additions and 8 deletions

View File

@ -3121,16 +3121,18 @@ void gcode_M600(bool automatic, float x_position, float y_position, float z_shif
if (mmu_enabled) if (mmu_enabled)
{ {
if (saved_printing) mmu_eject_filament(mmu_extruder, false); //if M600 was invoked by filament senzor (FINDA) eject filament so user can easily remove it if (!automatic) {
if (!automatic) mmu_M600_wait_and_beep(); if (saved_printing) mmu_eject_filament(mmu_extruder, false); //if M600 was invoked by filament senzor (FINDA) eject filament so user can easily remove it
if (saved_printing) { mmu_M600_wait_and_beep();
if (saved_printing) {
lcd_clear(); lcd_clear();
lcd_set_cursor(0, 2); lcd_set_cursor(0, 2);
lcd_puts_P(_T(MSG_PLEASE_WAIT)); lcd_puts_P(_T(MSG_PLEASE_WAIT));
mmu_command(MMU_CMD_R0); mmu_command(MMU_CMD_R0);
manage_response(false, false); manage_response(false, false);
}
} }
mmu_M600_load_filament(automatic); mmu_M600_load_filament(automatic);
} }