mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 21:13:16 +00:00
fixes
This commit is contained in:
parent
b87a0f87fa
commit
9e0499c461
2 changed files with 3 additions and 3 deletions
|
@ -53,7 +53,7 @@ bool subghz_scene_set_seed_on_event(void* context, SceneManagerEvent event) {
|
||||||
"FAAC_SLH",
|
"FAAC_SLH",
|
||||||
868350000,
|
868350000,
|
||||||
FuriHalSubGhzPresetOok650Async);
|
FuriHalSubGhzPresetOok650Async);
|
||||||
flipper_format_update_uint32(subghz->txrx->fff_data, "SEED", (uint32_t*)seed, 1);
|
flipper_format_write_uint32(subghz->txrx->fff_data, "Seed", (uint32_t*)seed, 1);
|
||||||
FURI_LOG_I(TAG, "SEED (set_seed_on_event): %8X\n", seed);
|
FURI_LOG_I(TAG, "SEED (set_seed_on_event): %8X\n", seed);
|
||||||
generated_protocol = true;
|
generated_protocol = true;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -443,8 +443,8 @@ bool subghz_protocol_decoder_faac_slh_serialize(
|
||||||
&instance->generic, instance->keystore, &instance->manufacture_name);
|
&instance->generic, instance->keystore, &instance->manufacture_name);
|
||||||
|
|
||||||
bool res = subghz_block_generic_serialize(&instance->generic, flipper_format, frequency, preset);
|
bool res = subghz_block_generic_serialize(&instance->generic, flipper_format, frequency, preset);
|
||||||
if(res && !flipper_format_write_string_cstr(flipper_format, "Manufacture", instance->manufacture_name)) {
|
if(res && !flipper_format_write_uint32(flipper_format, "Seed", &instance->generic.seed, 1)) {
|
||||||
FURI_LOG_E(TAG, "Unable to add manufacture name");
|
FURI_LOG_E(TAG, "Unable to add Seed");
|
||||||
res = false;
|
res = false;
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
|
|
Loading…
Reference in a new issue