Update subghz_scene_set_type.c

This commit is contained in:
r3df0xx 2022-04-20 20:51:21 +03:00
parent 03f5a45952
commit b8b568f721

View File

@ -165,11 +165,12 @@ bool subghz_scene_set_type_on_event(void* context, SceneManagerEvent event) {
scene_manager_next_scene(subghz->scene_manager, SubGhzSceneSetFix); scene_manager_next_scene(subghz->scene_manager, SubGhzSceneSetFix);
uint32_t fix_part = subghz->txrx->fix_data->fix[0] << 24 | subghz->txrx->fix_data->fix[1] << 16 | 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]; subghz->txrx->fix_data->fix[2] << 8 | subghz->txrx->fix_data->fix[3];
FURI_LOG_I(TAG, "fix: %8X", fix_part);
uint16_t cnt = subghz->txrx->cnt_data->cnt[0] << 8 | subghz->txrx->cnt_data->cnt[1]; uint16_t cnt = subghz->txrx->cnt_data->cnt[0] << 8 | subghz->txrx->cnt_data->cnt[1];
FURI_LOG_I(TAG, "cnt: %8X", cnt);
uint32_t seed = subghz->txrx->seed_data->seed[0] << 24 | subghz->txrx->seed_data->seed[1] << 16 | 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]; subghz->txrx->seed_data->seed[2] << 8 | subghz->txrx->seed_data->seed[3];
FURI_LOG_I(TAG, "seed: %8X", seed);
subghz->txrx->transmitter = subghz->txrx->transmitter =
subghz_transmitter_alloc_init(subghz->txrx->environment, "Faac SLH"); subghz_transmitter_alloc_init(subghz->txrx->environment, "Faac SLH");
if(subghz->txrx->transmitter) { if(subghz->txrx->transmitter) {