mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-01-03 18:59:43 +03:00
fix mfkey size
This commit is contained in:
parent
b3588e46c7
commit
85079f79c9
@ -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;
|
||||
|
@ -73,4 +73,4 @@ uint64_t subghz_protocol_keeloq_common_magic_xor_type1_learning(uint32_t data, u
|
||||
* @param key - mfkey (64bit)
|
||||
* @return man_learning for this fix number (64bit)
|
||||
*/
|
||||
uint64_t subghz_protocol_keeloq_common_faac_learning(const uint32_t seed, const uint32_t key);
|
||||
uint64_t subghz_protocol_keeloq_common_faac_learning(const uint32_t seed, const uint64_t key);
|
||||
|
Loading…
Reference in New Issue
Block a user