From f9c5b8a73e8ff47a561c4720a4f456d0ff02244f Mon Sep 17 00:00:00 2001 From: Willy-JL Date: Sun, 5 Mar 2023 20:38:35 +0000 Subject: [PATCH] Fix unirf freeze (protocol deserialize status ok) --- applications/main/unirfremix/unirfremix_app.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/applications/main/unirfremix/unirfremix_app.c b/applications/main/unirfremix/unirfremix_app.c index 7cf1c2a00..b750fd4f1 100644 --- a/applications/main/unirfremix/unirfremix_app.c +++ b/applications/main/unirfremix/unirfremix_app.c @@ -402,7 +402,9 @@ bool unirfremix_key_load( preset->decoder = subghz_receiver_search_decoder_base_by_name( receiver, furi_string_get_cstr(preset->protocol)); if(preset->decoder) { - if(!subghz_protocol_decoder_base_deserialize(preset->decoder, fff_data)) { + SubGhzProtocolStatus status = subghz_protocol_decoder_base_deserialize(preset->decoder, fff_data); + if(status != SubGhzProtocolStatusOk) { + FURI_LOG_E(TAG, "Protocol deserialize failed, status = %d", status); break; } } else {