diff options
author | Skorpionm <85568270+Skorpionm@users.noreply.github.com> | 2022-05-11 18:09:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-11 18:09:11 +0300 |
commit | 9a11d3996de57004cedff4890d52e26218807c2e (patch) | |
tree | 3ef0bb19322a666e349b1abf55326d12e5dda645 /applications/subghz/scenes | |
parent | 6cc30f405dec50fa2abdc7d9742613ae37105f3e (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.c | 2 |
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; } |