mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2025-02-17 13:58:32 +00:00
Merge pull request #375 from Willy-JL/fix-unirf-freeze
Fix unirf freeze (protocol deserialize status ok)
This commit is contained in:
commit
507c8582ca
1 changed files with 3 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue