mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-22 12:33:11 +00:00
fix incorrect state in decode raw exit
causing keys to be not removed from history and showing up in Read menu after exit from decode raw
This commit is contained in:
parent
0bb2738d36
commit
0770578d49
1 changed files with 2 additions and 0 deletions
|
@ -207,6 +207,8 @@ bool subghz_scene_decode_raw_on_event(void* context, SceneManagerEvent event) {
|
|||
|
||||
subghz_txrx_set_rx_callback(subghz->txrx, NULL, subghz);
|
||||
|
||||
subghz_rx_key_state_set(subghz, SubGhzRxKeyStateIDLE);
|
||||
|
||||
if(subghz_file_encoder_worker_is_running(subghz->decode_raw_file_worker_encoder)) {
|
||||
subghz_file_encoder_worker_stop(subghz->decode_raw_file_worker_encoder);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue