mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-30 04:19:59 -07:00
Merge pull request #375 from Willy-JL/fix-unirf-freeze
Fix unirf freeze (protocol deserialize status ok)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user