From 6cfe5abd2a5223ac1654b782fa2c0a072bc29faf Mon Sep 17 00:00:00 2001 From: r3df0xx Date: Tue, 19 Apr 2022 00:40:39 +0300 Subject: [PATCH] Update subghz_scene_set_type.c --- applications/subghz/scenes/subghz_scene_set_type.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/subghz/scenes/subghz_scene_set_type.c b/applications/subghz/scenes/subghz_scene_set_type.c index 0d5231005..630acfd42 100644 --- a/applications/subghz/scenes/subghz_scene_set_type.c +++ b/applications/subghz/scenes/subghz_scene_set_type.c @@ -164,7 +164,7 @@ bool subghz_scene_set_type_on_event(void* context, SceneManagerEvent event) { uint32_t fix_part = subghz->txrx->fix_data->fix[0] << 24 | subghz->txrx->fix_data->fix[1] << 16 | subghz->txrx->fix_data->fix[2] << 8 | subghz->txrx->fix_data->fix[3]; - uint16_t cnt = subghz->txrx->cnt_data->cnt[0] << 8 | subghz->txrx->cnt_data->cnt[1] << 16; + uint16_t cnt = subghz->txrx->cnt_data->cnt[0] << 8 | subghz->txrx->cnt_data->cnt[1]; uint32_t seed = subghz->txrx->seed_data->seed[0] << 24 | subghz->txrx->seed_data->seed[1] << 16 | subghz->txrx->seed_data->seed[2] << 8 | subghz->txrx->seed_data->seed[3];