Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSkorpionm <85568270+Skorpionm@users.noreply.github.com>2022-05-11 18:09:11 +0300
committerGitHub <noreply@github.com>2022-05-11 18:09:11 +0300
commit9a11d3996de57004cedff4890d52e26218807c2e (patch)
tree3ef0bb19322a666e349b1abf55326d12e5dda645 /applications/subghz/scenes
parent6cc30f405dec50fa2abdc7d9742613ae37105f3e (diff)
SubGhz: fix Princeton false positive on GateTx receive (#1218)
Co-authored-by: あく <alleteam@gmail.com>
Diffstat (limited to 'applications/subghz/scenes')
-rw-r--r--applications/subghz/scenes/subghz_scene_receiver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/subghz/scenes/subghz_scene_receiver.c b/applications/subghz/scenes/subghz_scene_receiver.c
index bfc39e91..01005148 100644
--- a/applications/subghz/scenes/subghz_scene_receiver.c
+++ b/applications/subghz/scenes/subghz_scene_receiver.c
@@ -60,7 +60,6 @@ static void subghz_scene_add_to_history_callback(
if(subghz_history_add_to_history(
subghz->txrx->history, decoder_base, subghz->txrx->frequency, subghz->txrx->preset)) {
- subghz_receiver_reset(receiver);
string_reset(str_buff);
subghz->state_notifications = SubGhzNotificationStateRxDone;
@@ -75,6 +74,7 @@ static void subghz_scene_add_to_history_callback(
subghz_scene_receiver_update_statusbar(subghz);
}
+ subghz_receiver_reset(receiver);
string_clear(str_buff);
subghz->txrx->rx_key_state = SubGhzRxKeyStateAddKey;
}