From c200b0286ead75a8cb6b7469c5bc3c06c0c6ffbd Mon Sep 17 00:00:00 2001 From: "D.R.racer" Date: Wed, 8 Mar 2023 12:07:23 +0100 Subject: [PATCH] Reallocate MCU_UNDERVOLTAGE_VCC error code value --- src/logic/error_codes.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/logic/error_codes.h b/src/logic/error_codes.h index 8c7490f..71db60f 100644 --- a/src/logic/error_codes.h +++ b/src/logic/error_codes.h @@ -56,6 +56,8 @@ enum class ErrorCode : uint_fast16_t { FILAMENT_EJECTED = 0x800c, ///< Filament was ejected, waiting for user input - technically, this is not an error + MCU_UNDERVOLTAGE_VCC = 0x800d, ///< MCU VCC rail undervoltage. + LOAD_TO_EXTRUDER_FAILED = 0x802a, ///< E32811 internal error of the printer - try-load-unload sequence detected missing filament -> failed load into the nozzle QUEUE_FULL = 0x802b, ///< E32811 internal logic error - attempt to move with a full queue VERSION_MISMATCH = 0x802c, ///< E32812 internal error of the printer - incompatible version of the MMU FW @@ -117,7 +119,4 @@ enum class ErrorCode : uint_fast16_t { /// issues or hardware fault. Possible "fixable" cause is undervoltage on the 5v logic line. /// Unfixable possible cause: bad or cracked solder joints on the PCB, failed shift register, failed driver. MMU_SOLDERING_NEEDS_ATTENTION = 0xC200, - - /// MCU VCC rail undervoltage. - MCU_UNDERVOLTAGE_VCC = 0xC400, };