Fixes #2957 - subghz decode_raw (#2958)

* Fixes #2957 - subghz decode_raw
* SubGhz: proper decode_raw fix

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
Derek Jamison 2023-08-08 03:03:39 -05:00 committed by GitHub
parent ab006361cc
commit e9f1af44f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -220,7 +220,9 @@ bool subghz_file_encoder_worker_start(
furi_stream_buffer_reset(instance->stream);
furi_string_set(instance->file_path, file_path);
instance->device = subghz_devices_get_by_name(radio_device_name);
if(radio_device_name) {
instance->device = subghz_devices_get_by_name(radio_device_name);
}
instance->worker_running = true;
furi_thread_start(instance->thread);