PFW-1527 FILAMENT_EJECTED should not increment fail statistic
Change in memory: Flash: +8 bytes SRAM: 0 bytes
This commit is contained in:
parent
434386e6cc
commit
4abdb0225d
|
|
@ -936,7 +936,7 @@ void MMU2::ReportError(ErrorCode ec, ErrorSource res) {
|
||||||
lastErrorSource = res;
|
lastErrorSource = res;
|
||||||
LogErrorEvent_P(_O(PrusaErrorTitle(PrusaErrorCodeIndex((uint16_t)ec))));
|
LogErrorEvent_P(_O(PrusaErrorTitle(PrusaErrorCodeIndex((uint16_t)ec))));
|
||||||
|
|
||||||
if (ec != ErrorCode::OK) {
|
if (ec != ErrorCode::OK && ec != ErrorCode::FILAMENT_EJECTED) {
|
||||||
IncrementMMUFails();
|
IncrementMMUFails();
|
||||||
|
|
||||||
// check if it is a "power" failure - we consider TMC-related errors as power failures
|
// check if it is a "power" failure - we consider TMC-related errors as power failures
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue