mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-20 04:54:45 -07:00
fix[unirf]: display decoded after sending
This commit is contained in:
@@ -690,9 +690,14 @@ static bool unirfremix_send_sub(
|
|||||||
|
|
||||||
flipper_format_file_close(fff_file);
|
flipper_format_file_close(fff_file);
|
||||||
|
|
||||||
|
{
|
||||||
|
string_t decode_str;
|
||||||
|
string_init(decode_str);
|
||||||
subghz_protocol_decoder_base_deserialize(preset->decoder, fff_data);
|
subghz_protocol_decoder_base_deserialize(preset->decoder, fff_data);
|
||||||
subghz_protocol_decoder_base_get_string(preset->decoder, temp_str);
|
subghz_protocol_decoder_base_get_string(preset->decoder, decode_str);
|
||||||
FURI_LOG_I(TAG, "Decoded: %s", string_get_cstr(temp_str));
|
FURI_LOG_I(TAG, "Decoded: %s", string_get_cstr(decode_str));
|
||||||
|
string_clear(decode_str);
|
||||||
|
}
|
||||||
|
|
||||||
FURI_LOG_I(TAG, "Checking if protocol is dynamic");
|
FURI_LOG_I(TAG, "Checking if protocol is dynamic");
|
||||||
const SubGhzProtocol* registry_protocol =
|
const SubGhzProtocol* registry_protocol =
|
||||||
|
|||||||
Reference in New Issue
Block a user