From 0c99cb52ec9237d614c543fcebb4905897679a54 Mon Sep 17 00:00:00 2001 From: derskythe Date: Mon, 26 Sep 2022 02:45:09 +0400 Subject: [PATCH] free transmitter during subbrute_worker_init_manual_transmit --- applications/plugins/subbrute/helpers/subbrute_worker.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/applications/plugins/subbrute/helpers/subbrute_worker.c b/applications/plugins/subbrute/helpers/subbrute_worker.c index 1701ba6eb..22e0e7ec4 100644 --- a/applications/plugins/subbrute/helpers/subbrute_worker.c +++ b/applications/plugins/subbrute/helpers/subbrute_worker.c @@ -284,6 +284,11 @@ bool subbrute_worker_init_manual_transmit( furi_hal_subghz_load_preset(instance->preset); instance->frequency = furi_hal_subghz_set_frequency_and_path(frequency); + furi_hal_subghz_set_path(FuriHalSubGhzPathIsolate); + furi_hal_subghz_sleep(); + subghz_transmitter_free(instance->transmitter); + instance->transmitter = NULL; + instance->worker_manual_mode = false; instance->is_manual_init = true;