From 3ce84559fdcffe33cbbf24c5b4bed2a8399cf87e Mon Sep 17 00:00:00 2001 From: M1nd3r Date: Fri, 5 Apr 2024 10:01:29 +0200 Subject: [PATCH] Add new Failure types to switch enumeration for legacy builds --- legacy/firmware/fsm.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/legacy/firmware/fsm.c b/legacy/firmware/fsm.c index 07c4c24b1..b1a0096a0 100644 --- a/legacy/firmware/fsm.c +++ b/legacy/firmware/fsm.c @@ -191,6 +191,12 @@ void fsm_sendFailure(FailureType code, const char *text) case FailureType_Failure_InvalidSession: text = _("Invalid session"); break; + case FailureType_Failure_ThpUnallocatedChannel: + text = _("Unallocated channel"); + break; + case FailureType_Failure_ThpUnallocatedSession: + text = _("Unallocated session"); + break; case FailureType_Failure_FirmwareError: text = _("Firmware error"); break;