From 4abdb0225dd3865afa06566a47a7d4e491fe166a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= Date: Sun, 4 Jun 2023 10:51:45 +0000 Subject: [PATCH] PFW-1527 FILAMENT_EJECTED should not increment fail statistic Change in memory: Flash: +8 bytes SRAM: 0 bytes --- Firmware/mmu2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Firmware/mmu2.cpp b/Firmware/mmu2.cpp index 7e3a16370..465e49470 100644 --- a/Firmware/mmu2.cpp +++ b/Firmware/mmu2.cpp @@ -936,7 +936,7 @@ void MMU2::ReportError(ErrorCode ec, ErrorSource res) { lastErrorSource = res; LogErrorEvent_P(_O(PrusaErrorTitle(PrusaErrorCodeIndex((uint16_t)ec)))); - if (ec != ErrorCode::OK) { + if (ec != ErrorCode::OK && ec != ErrorCode::FILAMENT_EJECTED) { IncrementMMUFails(); // check if it is a "power" failure - we consider TMC-related errors as power failures