From a30ea1c5ab2f12e1ce8fafd9299ecc885aa420b8 Mon Sep 17 00:00:00 2001 From: "D.R.racer" Date: Thu, 22 Dec 2022 15:19:48 +0100 Subject: [PATCH] Rename error: Load to Extruder Failed as per request from the Content team --- Firmware/mmu2.cpp | 2 +- Firmware/mmu2/error_codes.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Firmware/mmu2.cpp b/Firmware/mmu2.cpp index 41071cdb2..5797e27a5 100644 --- a/Firmware/mmu2.cpp +++ b/Firmware/mmu2.cpp @@ -309,7 +309,7 @@ void MMU2::ToolChangeCommon(uint8_t slot){ break; } else { // failed autoretry, report an error by forcing a "printer" error into the MMU infrastructure - it is a hack to leverage existing code - logic.SetPrinterError(ErrorCode::TRY_LOAD_UNLOAD_FAILED); + logic.SetPrinterError(ErrorCode::LOAD_TO_EXTRUDER_FAILED); SaveAndPark(true); SaveHotendTemp(true); // We only have to wait for the user to fix the issue and press "Retry". diff --git a/Firmware/mmu2/error_codes.h b/Firmware/mmu2/error_codes.h index 902a8ae17..3fed76f42 100644 --- a/Firmware/mmu2/error_codes.h +++ b/Firmware/mmu2/error_codes.h @@ -56,7 +56,7 @@ enum class ErrorCode : uint_fast16_t { QUEUE_FULL = 0x802b, ///< E32811 internal logic error - attempt to move with a full queue - TRY_LOAD_UNLOAD_FAILED = 0x802b, ///< E32811 internal error of the printer - try-load-unload sequence detected missing filament -> failed load into the nozzle + LOAD_TO_EXTRUDER_FAILED = 0x802b, ///< E32811 internal error of the printer - try-load-unload sequence detected missing filament -> failed load into the nozzle VERSION_MISMATCH = 0x802c, ///< E32812 internal error of the printer - incompatible version of the MMU FW PROTOCOL_ERROR = 0x802d, ///< E32813 internal error of the printer - communication with the MMU got garbled - protocol decoder couldn't decode the incoming messages MMU_NOT_RESPONDING = 0x802e, ///< E32814 internal error of the printer - communication with the MMU is not working