mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 15:00:46 +00:00
Update faac_slh.c
This commit is contained in:
parent
a12770a026
commit
0e9334d8b0
1 changed files with 2 additions and 2 deletions
|
@ -247,7 +247,7 @@ bool subghz_protocol_encoder_faac_slh_deserialize(void* context, FlipperFormat*
|
|||
flipper_format_read_uint32(
|
||||
flipper_format, "Repeat", (uint32_t*)&instance->encoder.repeat, 1);
|
||||
|
||||
if(!flipper_format_read_uint32(flipper_format, "SEED", (uint32_t*)instance->generic.seed, 4)) {
|
||||
if(!flipper_format_read_uint32(flipper_format, "SEED", (uint32_t*)&instance->generic.seed, 4)) {
|
||||
FURI_LOG_E(TAG, "Missing SEED");
|
||||
break;
|
||||
}
|
||||
|
@ -468,7 +468,7 @@ bool subghz_protocol_decoder_faac_slh_deserialize(void* context, FlipperFormat*
|
|||
FURI_LOG_E(TAG, "Rewind error");
|
||||
break;
|
||||
}
|
||||
if(!flipper_format_read_uint32(flipper_format, "SEED", (uint32_t*)instance->generic.seed, 4)) {
|
||||
if(!flipper_format_read_uint32(flipper_format, "SEED", (uint32_t*)&instance->generic.seed, 4)) {
|
||||
FURI_LOG_E(TAG, "Missing SEED");
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue