mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-15 16:52:38 +03:00
Update faac_slh.c
This commit is contained in:
parent
1752715f45
commit
828b3dbcb2
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user