From 7cdb63f07a025cf5aca790cc99393cfdb6c314c1 Mon Sep 17 00:00:00 2001 From: "D.R.racer" Date: Tue, 7 Dec 2021 07:17:59 +0100 Subject: [PATCH] Make Idler::Engage not obey the position of filament fixes UnloadFilament startup - it wasn't waiting for the Idler to engage before moving the Pulley --- src/modules/idler.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/idler.cpp b/src/modules/idler.cpp index c3c41e7..771fb7f 100644 --- a/src/modules/idler.cpp +++ b/src/modules/idler.cpp @@ -77,10 +77,10 @@ Idler::OperationResult Idler::Engage(uint8_t slot) { } // coordinates invalid, first home, then engage - // avoid homing if filament in fsensor or in nozzle - // - the printer may be printing right now and holding the filament - // against the pulley even for a short period of time may not be healthy - if (!homingValid && mg::globals.FilamentLoaded() < mg::InFSensor) { + // The MMU FW only decides to engage the Idler when it is supposed to do something and not while it is idle + // so rebooting the MMU while the printer is printing (and thus holding the filament by the moving Idler) + // should not be an issue + if (!homingValid) { PlanHome(mm::Idler); return OperationResult::Accepted; }