mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-30 16:29:12 +00:00
Update nice_flor_s.c
This commit is contained in:
parent
26aa177d9c
commit
f89544dfa1
1 changed files with 1 additions and 0 deletions
|
@ -507,6 +507,7 @@ static void subghz_protocol_nice_flor_s_remote_controller(
|
||||||
instance->btn = 0;
|
instance->btn = 0;
|
||||||
} else {
|
} else {
|
||||||
uint64_t decrypt = subghz_protocol_nice_flor_s_decrypt(instance, file_name);
|
uint64_t decrypt = subghz_protocol_nice_flor_s_decrypt(instance, file_name);
|
||||||
|
FURI_LOG_I(TAG, "init_decrypted_data = %016X", decrypt);
|
||||||
instance->cnt = decrypt & 0xFFFF;
|
instance->cnt = decrypt & 0xFFFF;
|
||||||
instance->serial = (decrypt >> 16) & 0xFFFFFFF;
|
instance->serial = (decrypt >> 16) & 0xFFFFFFF;
|
||||||
instance->btn = (decrypt >> 48) & 0xF;
|
instance->btn = (decrypt >> 48) & 0xF;
|
||||||
|
|
Loading…
Reference in a new issue