Add missing CheckUserInput calls, fix bad array entry for FW_update
This commit is contained in:
parent
e8088b0161
commit
f155c7664d
|
|
@ -555,6 +555,7 @@ void MMU2::manage_response(const bool move_axes, const bool turn_off_nozzle) {
|
|||
st_synchronize();
|
||||
return;
|
||||
case VersionMismatch: // this basically means the MMU will be disabled until reconnected
|
||||
CheckUserInput();
|
||||
return;
|
||||
case CommunicationTimeout:
|
||||
case CommandError:
|
||||
|
|
@ -597,6 +598,7 @@ StepStatus MMU2::LogicStep() {
|
|||
case VersionMismatch:
|
||||
StopKeepPowered();
|
||||
ReportError(ErrorCode::VERSION_MISMATCH);
|
||||
CheckUserInput();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ static const constexpr uint16_t errorCodes[] PROGMEM = {
|
|||
ERR_SYSTEM_INVALID_TOOL,
|
||||
ERR_SYSTEM_QUEUE_FULL,
|
||||
ERR_SYSTEM_FW_UPDATE_NEEDED,
|
||||
ERR_SYSTEM_FW_UPDATE_NEEDED,
|
||||
ERR_SYSTEM_FW_RUNTIME_ERROR,
|
||||
ERR_SYSTEM_UNLOAD_MANUALLY
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -249,7 +249,7 @@ Buttons ButtonPressed(uint16_t ec) {
|
|||
break;
|
||||
case ERR_SYSTEM_FW_UPDATE_NEEDED:
|
||||
switch (buttonSelectedOperation) {
|
||||
case ButtonOperations::DisableMMU: // "Restart MMU"
|
||||
case ButtonOperations::DisableMMU: // "Disable"
|
||||
return DisableMMU;
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue