This commit is contained in:
r3df0xx 2022-04-26 21:35:02 +03:00
parent b87a0f87fa
commit 9e0499c461
2 changed files with 3 additions and 3 deletions

View file

@ -53,7 +53,7 @@ bool subghz_scene_set_seed_on_event(void* context, SceneManagerEvent event) {
"FAAC_SLH",
868350000,
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);
generated_protocol = true;
} else {

View file

@ -443,8 +443,8 @@ bool subghz_protocol_decoder_faac_slh_serialize(
&instance->generic, instance->keystore, &instance->manufacture_name);
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)) {
FURI_LOG_E(TAG, "Unable to add manufacture name");
if(res && !flipper_format_write_uint32(flipper_format, "Seed", &instance->generic.seed, 1)) {
FURI_LOG_E(TAG, "Unable to add Seed");
res = false;
}
return res;