From eb170098b849eedf091b089c65e1abe8840285d8 Mon Sep 17 00:00:00 2001 From: r3df0xx Date: Thu, 28 Apr 2022 13:33:22 +0300 Subject: [PATCH] remove extra furi logs, more --- applications/subghz/scenes/subghz_scene_set_cnt.c | 3 +-- applications/subghz/scenes/subghz_scene_set_fix.c | 4 +--- applications/subghz/scenes/subghz_scene_set_seed.c | 6 +++--- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/applications/subghz/scenes/subghz_scene_set_cnt.c b/applications/subghz/scenes/subghz_scene_set_cnt.c index 0cee0faf1..3bd39b341 100644 --- a/applications/subghz/scenes/subghz_scene_set_cnt.c +++ b/applications/subghz/scenes/subghz_scene_set_cnt.c @@ -39,8 +39,7 @@ bool subghz_scene_set_cnt_on_event(void* context, SceneManagerEvent event) { void subghz_scene_set_cnt_on_exit(void* context) { SubGhz* subghz = context; - uint16_t cnt = subghz->txrx->secure_data->cnt[0] << 8 | subghz->txrx->secure_data->cnt[1]; - FURI_LOG_I(TAG, "cnt: %4X\n", cnt); + // Clear view byte_input_set_result_callback(subghz->byte_input, NULL, NULL, NULL, NULL, 0); byte_input_set_header_text(subghz->byte_input, ""); diff --git a/applications/subghz/scenes/subghz_scene_set_fix.c b/applications/subghz/scenes/subghz_scene_set_fix.c index fd59eabfc..b17a1852a 100644 --- a/applications/subghz/scenes/subghz_scene_set_fix.c +++ b/applications/subghz/scenes/subghz_scene_set_fix.c @@ -39,9 +39,7 @@ bool subghz_scene_set_fix_on_event(void* context, SceneManagerEvent event) { void subghz_scene_set_fix_on_exit(void* context) { SubGhz* subghz = context; - uint32_t fix = subghz->txrx->secure_data->fix[0] << 24 | subghz->txrx->secure_data->fix[1] << 16 | - subghz->txrx->secure_data->fix[2] << 8 | subghz->txrx->secure_data->fix[3]; - FURI_LOG_I(TAG, "fix: %8X\n", fix); + // Clear view byte_input_set_result_callback(subghz->byte_input, NULL, NULL, NULL, NULL, 0); byte_input_set_header_text(subghz->byte_input, ""); diff --git a/applications/subghz/scenes/subghz_scene_set_seed.c b/applications/subghz/scenes/subghz_scene_set_seed.c index 3bc791bb5..008c6107a 100644 --- a/applications/subghz/scenes/subghz_scene_set_seed.c +++ b/applications/subghz/scenes/subghz_scene_set_seed.c @@ -35,12 +35,11 @@ bool subghz_scene_set_seed_on_event(void* context, SceneManagerEvent event) { uint32_t fix_part = subghz->txrx->secure_data->fix[0] << 24 | subghz->txrx->secure_data->fix[1] << 16 | subghz->txrx->secure_data->fix[2] << 8 | subghz->txrx->secure_data->fix[3]; - FURI_LOG_I(TAG, "fix: %8X", fix_part); + uint16_t cnt = subghz->txrx->secure_data->cnt[0] << 8 | subghz->txrx->secure_data->cnt[1]; - FURI_LOG_I(TAG, "cnt: %8X", cnt); + uint32_t seed = subghz->txrx->secure_data->seed[0] << 24 | subghz->txrx->secure_data->seed[1] << 16 | subghz->txrx->secure_data->seed[2] << 8 | subghz->txrx->secure_data->seed[3]; - FURI_LOG_I(TAG, "seed: %8X", seed); subghz->txrx->transmitter = subghz_transmitter_alloc_init(subghz->txrx->environment, "Faac SLH"); @@ -93,6 +92,7 @@ bool subghz_scene_set_seed_on_event(void* context, SceneManagerEvent event) { void subghz_scene_set_seed_on_exit(void* context) { SubGhz* subghz = context; + // Clear view byte_input_set_result_callback(subghz->byte_input, NULL, NULL, NULL, NULL, 0); byte_input_set_header_text(subghz->byte_input, "");