From 6c762c50bca04d3f465f67c43bbd32d2640facce Mon Sep 17 00:00:00 2001 From: M1nd3r Date: Mon, 29 Apr 2024 11:35:40 +0200 Subject: [PATCH] feat(core): add new Failure types 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;