Merge pull request #2466 from vintagepc/#2464-fix-runout-for-unknown-filament
#2464 fix runout for unknown filament (also fixes #1993, #2301)
This commit is contained in:
commit
a4b8f52269
@ -383,8 +383,9 @@ void mmu_loop(void)
|
|||||||
//printf_P(PSTR("Eact: %d\n"), int(e_active()));
|
//printf_P(PSTR("Eact: %d\n"), int(e_active()));
|
||||||
if (!mmu_finda && CHECK_FSENSOR && fsensor_enabled) {
|
if (!mmu_finda && CHECK_FSENSOR && fsensor_enabled) {
|
||||||
fsensor_checkpoint_print();
|
fsensor_checkpoint_print();
|
||||||
ad_markDepleted(mmu_extruder);
|
if (mmu_extruder != MMU_FILAMENT_UNKNOWN) // Can't deplete unknown extruder.
|
||||||
if (lcd_autoDepleteEnabled() && !ad_allDepleted())
|
ad_markDepleted(mmu_extruder);
|
||||||
|
if (lcd_autoDepleteEnabled() && !ad_allDepleted() && mmu_extruder != MMU_FILAMENT_UNKNOWN) // Can't auto if F=?
|
||||||
{
|
{
|
||||||
enquecommand_front_P(PSTR("M600 AUTO")); //save print and run M600 command
|
enquecommand_front_P(PSTR("M600 AUTO")); //save print and run M600 command
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user