OFW PR 3412 - Fixed MyKey LockID

by zProAle
https://github.com/flipperdevices/flipperzero-firmware/pull/3412/files
This commit is contained in:
MX
2024-01-31 16:41:41 +03:00
parent 22be06174a
commit 3446b38a06

View File

@@ -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) {