mirror of
https://github.com/semaf/MFRC522_I2C_Library.git
synced 2025-06-24 22:41:33 +02:00
PCD_Authenticate last 4 bytes used
Thanks to @cyp-git
This commit is contained in:
committed by
GitHub
parent
5d2ebe24fc
commit
9a2593d7d5
@ -816,7 +816,7 @@ byte MFRC522::PCD_Authenticate(byte command, ///< PICC_CMD_MF_AUTH_KEY_A or PIC
|
||||
sendData[2+i] = key->keyByte[i];
|
||||
}
|
||||
for (byte i = 0; i < 4; i++) { // The first 4 bytes of the UID
|
||||
sendData[8+i] = uid->uidByte[i];
|
||||
sendData[8+i] = uid->uidByte[i+uid->size-4];
|
||||
}
|
||||
|
||||
// Start the authentication.
|
||||
|
Reference in New Issue
Block a user