From dac8741ff686db7567befedc357a05e3d555584d Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Wed, 11 Feb 2026 00:00:06 +0300 Subject: [PATCH] reset on exit instead --- scenes/protopirate_scene_sub_decode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scenes/protopirate_scene_sub_decode.c b/scenes/protopirate_scene_sub_decode.c index 17cfa1a..911adb4 100644 --- a/scenes/protopirate_scene_sub_decode.c +++ b/scenes/protopirate_scene_sub_decode.c @@ -877,14 +877,12 @@ bool protopirate_scene_sub_decode_on_event(void* context, SceneManagerEvent even uint16_t history_count = protopirate_history_get_item(ctx->history); if(history_count > 0) { - subghz_receiver_reset(app->txrx->receiver); ctx->state = DecodeStateShowSuccess; ctx->selected_history_index = 0; ctx->showing_signal_info = false; ctx->result_display_counter = 0; notification_message(app->notifications, &sequence_success); } else { - subghz_receiver_reset(app->txrx->receiver); furi_string_printf( ctx->result, "RAW Signal\n\n" @@ -1086,6 +1084,8 @@ bool protopirate_scene_sub_decode_on_event(void* context, SceneManagerEvent even void protopirate_scene_sub_decode_on_exit(void* context) { ProtoPirateApp* app = context; + subghz_receiver_reset(app->txrx->receiver); + subghz_receiver_set_rx_callback(app->txrx->receiver, NULL, NULL); if(g_decode_ctx) {