Fixes issue #8

Fixes issue #8 on https://github.com/TheZeroBeast/MM-control-01/issues/8

Cleared filamentLoaded bool when MMU Ejecting filament.
This commit is contained in:
TheZeroBeast 2018-11-09 21:28:34 +10:00 committed by GitHub
parent ebbed236a0
commit c2c2fd3d2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -706,6 +706,7 @@ void mmu_M600_load_filament(bool automatic)
{
//load filament for mmu v2
tmp_extruder = mmu_extruder;
lastLoadedFilament = -10;
if (!automatic) {
#ifdef MMU_M600_SWITCH_EXTRUDER
bool yes = lcd_show_fullscreen_message_yes_no_and_wait_P(_i("Do you want to switch extruder?"), false);
@ -1277,4 +1278,4 @@ void mmu_eject_filament(uint8_t filament, bool recover)
{
puts_P(PSTR("Filament nr out of range!"));
}
}
}