mirror of
https://github.com/semaf/MFRC522_I2C_Library.git
synced 2025-06-24 14:31:34 +02:00
Comment edited
This commit is contained in:
committed by
GitHub
parent
9a2593d7d5
commit
afa62fd380
@ -815,7 +815,7 @@ byte MFRC522::PCD_Authenticate(byte command, ///< PICC_CMD_MF_AUTH_KEY_A or PIC
|
||||
for (byte i = 0; i < MF_KEY_SIZE; i++) { // 6 key bytes
|
||||
sendData[2+i] = key->keyByte[i];
|
||||
}
|
||||
for (byte i = 0; i < 4; i++) { // The first 4 bytes of the UID
|
||||
for (byte i = 0; i < 4; i++) { // The last 4 bytes of the UID
|
||||
sendData[8+i] = uid->uidByte[i+uid->size-4];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user