mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 12:42:30 +04:00
Fixed MyKey check LockID (#3412)
Co-authored-by: gornekich <n.gorbadey@gmail.com> Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -13,7 +13,7 @@ static bool mykey_is_blank(const St25tbData* data) {
|
||||
}
|
||||
|
||||
static bool mykey_has_lockid(const St25tbData* data) {
|
||||
return (data->blocks[5] & 0xFF) == 0x7F;
|
||||
return (data->blocks[5] >> 24) == 0x7F;
|
||||
}
|
||||
|
||||
static bool check_invalid_low_nibble(uint8_t value) {
|
||||
|
||||
Reference in New Issue
Block a user