mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2025-02-20 07:18:32 +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_read_uint32(
|
||||||
flipper_format, "Repeat", (uint32_t*)&instance->encoder.repeat, 1);
|
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");
|
FURI_LOG_E(TAG, "Missing SEED");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -468,7 +468,7 @@ bool subghz_protocol_decoder_faac_slh_deserialize(void* context, FlipperFormat*
|
||||||
FURI_LOG_E(TAG, "Rewind error");
|
FURI_LOG_E(TAG, "Rewind error");
|
||||||
break;
|
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");
|
FURI_LOG_E(TAG, "Missing SEED");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue