From 70ae3353ce03792b1978b57d047552e3e5c3a516 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= Date: Sun, 21 May 2023 14:57:59 +0000 Subject: [PATCH] MMU: Disable E-motor after Try-load-unload The filament is never in the nozzle at this point so there should be no oozing. When a single material MMU print, I can hear audible noise from the motor after executing Tx code. After some timeout (while the heaters still heating up) I can hear the firmware disable the E-motor. But we can safely disable it immediately after the try-load-unload sequence. Change in memory: Flash: +4 bytes SRAM: 0 bytes --- Firmware/mmu2.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Firmware/mmu2.cpp b/Firmware/mmu2.cpp index 0c5d23694..961917461 100644 --- a/Firmware/mmu2.cpp +++ b/Firmware/mmu2.cpp @@ -304,6 +304,8 @@ bool MMU2::VerifyFilamentEnteredPTFE() { } } + Disable_E0(); + if (fsensorState) { IncrementLoadFails(); return false;