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
74db3d6bb6
commit
186b12580e
1 changed files with 1 additions and 4 deletions
|
@ -112,11 +112,10 @@ void subghz_protocol_encoder_faac_slh_free(void* context) {
|
|||
|
||||
static bool subghz_protocol_faac_slh_gen_data(SubGhzProtocolEncoderFaacSLH* instance) {
|
||||
instance->generic.cnt++;
|
||||
uint32_t fix = instance->generic.data >> 32;
|
||||
uint32_t fix = instance->generic.serial << 4 | instance->generic.btn;
|
||||
uint32_t hop = 0;
|
||||
uint32_t decrypt = 0;
|
||||
uint64_t man = 0;
|
||||
instance->generic.seed = 0x77ED7698;
|
||||
int res = 0;
|
||||
char fixx[8] = {};
|
||||
int shiftby = 32;
|
||||
|
@ -404,8 +403,6 @@ static void subghz_protocol_faac_slh_check_remote_controller
|
|||
instance->btn = code_fix & 0xF;
|
||||
uint32_t decrypt = 0;
|
||||
uint64_t man;
|
||||
instance->seed = 0x77ED7698;
|
||||
|
||||
|
||||
for
|
||||
M_EACH(manufacture_code, *subghz_keystore_get_data(keystore), SubGhzKeyArray_t) {
|
||||
|
|
Loading…
Reference in a new issue