fix mfkey size

This commit is contained in:
r3df0xx
2022-04-09 15:15:36 +03:00
parent b3588e46c7
commit 85079f79c9
2 changed files with 2 additions and 2 deletions

View File

@@ -90,7 +90,7 @@ inline uint64_t
*/
inline uint64_t
subghz_protocol_keeloq_common_faac_learning(const uint32_t seed, const uint32_t key) {
subghz_protocol_keeloq_common_faac_learning(const uint32_t seed, const uint64_t key) {
uint16_t hs = seed >> 16;
const uint16_t ending = 0x544D;
uint32_t lsb = (uint32_t)hs << 16 | ending;