From 8ce5fae6264a7b74a92358def75511d25119857f Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Sat, 17 Sep 2022 00:19:43 +0300 Subject: [PATCH] fix config --- applications/main/subghz/scenes/subghz_scene_decode_raw.c | 3 ++- applications/main/subghz/scenes/subghz_scene_receiver_config.c | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/applications/main/subghz/scenes/subghz_scene_decode_raw.c b/applications/main/subghz/scenes/subghz_scene_decode_raw.c index d8c087182..4c7ffd05f 100644 --- a/applications/main/subghz/scenes/subghz_scene_decode_raw.c +++ b/applications/main/subghz/scenes/subghz_scene_decode_raw.c @@ -180,7 +180,8 @@ void subghz_scene_decode_raw_on_enter(void* context) { subghz_receiver_search_decoder_base_by_name( subghz->txrx->receiver, SUBGHZ_PROTOCOL_RAW_NAME), false); - + subghz_receiver_set_filter(subghz->txrx->receiver, SubGhzProtocolFlag_Decodable); + if(decode_raw_state == SubGhzDecodeRawStateStart) { //Decode RAW to history subghz_history_reset(subghz->txrx->history); diff --git a/applications/main/subghz/scenes/subghz_scene_receiver_config.c b/applications/main/subghz/scenes/subghz_scene_receiver_config.c index 16d3ad939..d5fc9fd75 100644 --- a/applications/main/subghz/scenes/subghz_scene_receiver_config.c +++ b/applications/main/subghz/scenes/subghz_scene_receiver_config.c @@ -244,6 +244,9 @@ static void subghz_scene_receiver_config_var_list_enter_callback(void* context, void subghz_scene_receiver_config_on_enter(void* context) { SubGhz* subghz = context; + + subghz_last_setting_set_receiver_values(subghz->last_setting, subghz->txrx->receiver); + VariableItem* item; uint8_t value_index;