From be6b01168bdab6f65fc5964f840d119ee122b397 Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Sun, 18 Feb 2024 07:03:56 +0000 Subject: [PATCH] Fix led blink on decode raw > signal info --- applications/main/subghz/scenes/subghz_scene_receiver_info.c | 3 ++- applications/main/subghz/subghz_history.c | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/main/subghz/scenes/subghz_scene_receiver_info.c b/applications/main/subghz/scenes/subghz_scene_receiver_info.c index 63048e162..abe85eb68 100644 --- a/applications/main/subghz/scenes/subghz_scene_receiver_info.c +++ b/applications/main/subghz/scenes/subghz_scene_receiver_info.c @@ -127,7 +127,8 @@ void subghz_scene_receiver_info_on_enter(void* context) { subghz_scene_receiver_info_draw_widget(subghz); - if(!subghz_history_full(subghz->history)) { + if(!subghz_history_full(subghz->history) && + !scene_manager_has_previous_scene(subghz->scene_manager, SubGhzSceneDecodeRAW)) { subghz->state_notifications = SubGhzNotificationStateRx; } } diff --git a/applications/main/subghz/subghz_history.c b/applications/main/subghz/subghz_history.c index e312039dc..9e17a9b32 100644 --- a/applications/main/subghz/subghz_history.c +++ b/applications/main/subghz/subghz_history.c @@ -208,7 +208,6 @@ bool subghz_history_get_text_space_left( if(output != NULL) { if(sats == 0) { furi_string_printf(output, "%02u", instance->last_index_write); - return false; } else { if(furi_hal_rtc_get_timestamp() % 2) { furi_string_printf(output, "%02u", instance->last_index_write);