Ver código fonte

Rename error: Load to Extruder Failed

as per request from the Content team
D.R.racer 1 ano atrás
pai
commit
a30ea1c5ab
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1 1
      Firmware/mmu2.cpp
  2. 1 1
      Firmware/mmu2/error_codes.h

+ 1 - 1
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".

+ 1 - 1
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