Update nice_flor_s.c

This commit is contained in:
r3df0xx 2022-04-01 10:54:30 +03:00
parent 26aa177d9c
commit f89544dfa1

View file

@ -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;