Update faac_slh.c

This commit is contained in:
r3df0xx 2022-04-15 21:48:13 +03:00
parent 1752715f45
commit 828b3dbcb2

View File

@ -8,6 +8,7 @@
#include "../blocks/encoder.h"
#include "../blocks/generic.h"
#include "../blocks/math.h"
#include "../applications/subghz/subghz_i.h"
#define TAG "SubGhzProtocolFaacSHL"
@ -116,7 +117,7 @@ static bool subghz_protocol_faac_slh_gen_data(SubGhzProtocolEncoderFaacSLH* inst
uint32_t hop = 0;
uint32_t decrypt = 0;
uint64_t man = 0;
instance->generic.seed = 0x7C81AD20;
instance->generic.seed = 0;
int res = 0;
char fixx[8] = {};
int shiftby = 32;
@ -378,7 +379,7 @@ static void subghz_protocol_faac_slh_check_remote_controller
instance->btn = code_fix & 0xF;
uint32_t decrypt = 0;
uint64_t man;
instance->seed = 0x7C81AD20;
instance->seed = 0;
for
M_EACH(manufacture_code, *subghz_keystore_get_data(keystore), SubGhzKeyArray_t) {