do not save detect raw on/off settings

This commit is contained in:
MX
2022-10-02 06:38:34 +03:00
parent cea14ae9c5
commit 85eb740559
6 changed files with 37 additions and 40 deletions

View File

@@ -21,7 +21,11 @@ void subghz_scene_start_on_enter(void* context) {
if(subghz->state_notifications == SubGhzNotificationStateStarting) {
subghz->state_notifications = SubGhzNotificationStateIDLE;
}
subghz_last_settings_set_detect_raw_values(subghz);
subghz_protocol_decoder_raw_set_auto_mode(
subghz_receiver_search_decoder_base_by_name(
subghz->txrx->receiver, SUBGHZ_PROTOCOL_RAW_NAME),
false);
subghz_receiver_set_filter(subghz->txrx->receiver, SubGhzProtocolFlag_Decodable);
submenu_add_item(
subghz->submenu, "Read", SubmenuIndexRead, subghz_scene_start_submenu_callback, subghz);