From 53dbf8de726ea942300253d39bb8d44e874a3490 Mon Sep 17 00:00:00 2001 From: gid9798 <30450294+gid9798@users.noreply.github.com> Date: Wed, 31 May 2023 12:25:45 +0300 Subject: [PATCH] fix --- applications/main/subghz_remote/subghz_remote_app_i.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/applications/main/subghz_remote/subghz_remote_app_i.c b/applications/main/subghz_remote/subghz_remote_app_i.c index 6d23427eb..26659ccb1 100644 --- a/applications/main/subghz_remote/subghz_remote_app_i.c +++ b/applications/main/subghz_remote/subghz_remote_app_i.c @@ -221,7 +221,6 @@ bool subrem_tx_start_sub(SubGhzRemoteApp* app, SubRemSubFilePreset* sub_preset) subghz_txrx_load_decoder_by_name_protocol( app->txrx, furi_string_get_cstr(sub_preset->protocaol_name)); - subghz_custom_btns_reset(); subghz_txrx_set_preset( app->txrx, furi_string_get_cstr(sub_preset->freq_preset.name), @@ -230,7 +229,6 @@ bool subrem_tx_start_sub(SubGhzRemoteApp* app, SubRemSubFilePreset* sub_preset) 0); #ifdef APP_SUBGHZREMOTE - subghz_custom_btn_set(SUBGHZ_CUSTOM_BTN_OK); subghz_custom_btns_reset(); #endif @@ -250,7 +248,7 @@ bool subrem_tx_stop_sub(SubGhzRemoteApp* app, bool forced) { subghz_txrx_stop(app->txrx); #ifdef APP_SUBGHZREMOTE if(sub_preset->type == SubGhzProtocolTypeDynamic) { - //subghz_environment_reset_keeloq(&app->txrx->environment); + subghz_txrx_reset_dynamic_and_custom_btns(app->txrx); } subghz_custom_btns_reset(); #endif