From 003b2e54019cc51c59e3c36fe2e3d6710e139564 Mon Sep 17 00:00:00 2001 From: RogueMaster Date: Sat, 17 Sep 2022 06:50:15 -0400 Subject: [PATCH] raw? --- lib/subghz/protocols/raw.c | 7 ------- lib/subghz/protocols/raw.h | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/subghz/protocols/raw.c b/lib/subghz/protocols/raw.c index 0d7e53e59..079db8c3a 100644 --- a/lib/subghz/protocols/raw.c +++ b/lib/subghz/protocols/raw.c @@ -59,13 +59,6 @@ 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, diff --git a/lib/subghz/protocols/raw.h b/lib/subghz/protocols/raw.h index 98ef3e008..13527d873 100644 --- a/lib/subghz/protocols/raw.h +++ b/lib/subghz/protocols/raw.h @@ -146,7 +146,7 @@ void subghz_protocol_encoder_raw_stop(void* context); * Сallback on completion of file transfer. * @param context Pointer to a SubGhzProtocolEncoderRAW instance */ -void subghz_protocol_raw_file_encoder_worker_callback_end(void* context); +// void subghz_protocol_raw_file_encoder_worker_callback_end(void* context); /** * Set callback on completion of file transfer.