From 169d0c9845e8f6e76b7776b824fc1143950030a2 Mon Sep 17 00:00:00 2001 From: RogueMaster Date: Sat, 17 Sep 2022 06:49:43 -0400 Subject: [PATCH] Update raw.c --- lib/subghz/protocols/raw.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/subghz/protocols/raw.c b/lib/subghz/protocols/raw.c index 079db8c3a..0d7e53e59 100644 --- a/lib/subghz/protocols/raw.c +++ b/lib/subghz/protocols/raw.c @@ -59,6 +59,13 @@ typedef enum { RAWFileIsOpenRead, } RAWFilIsOpen; + +void subghz_protocol_raw_file_encoder_worker_callback_end(void* context) { + furi_assert(context); + SubGhzProtocolRAW* instance = context; + if(instance->callback_end) instance->callback_end(instance->context_end); +} + const SubGhzProtocolDecoder subghz_protocol_raw_decoder = { .alloc = subghz_protocol_decoder_raw_alloc, .free = subghz_protocol_decoder_raw_free,