mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-15 08:43:37 +03:00
Update subghz_scene_set_type.c
This commit is contained in:
parent
03f5a45952
commit
b8b568f721
@ -165,11 +165,12 @@ bool subghz_scene_set_type_on_event(void* context, SceneManagerEvent event) {
|
||||
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 |
|
||||
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];
|
||||
|
||||
FURI_LOG_I(TAG, "cnt: %8X", cnt);
|
||||
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];
|
||||
FURI_LOG_I(TAG, "seed: %8X", seed);
|
||||
subghz->txrx->transmitter =
|
||||
subghz_transmitter_alloc_init(subghz->txrx->environment, "Faac SLH");
|
||||
if(subghz->txrx->transmitter) {
|
||||
|
Loading…
Reference in New Issue
Block a user