fix sub decode reset

This commit is contained in:
MX
2026-02-10 23:46:43 +03:00
parent 092d1370d3
commit 08e2002c35
+2
View File
@@ -877,12 +877,14 @@ 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"