1
0
mirror of https://github.com/xfjx/TonUINO.git synced 2025-08-31 01:09:54 +02:00

ändert KEY_B zu KEY_A

This commit is contained in:
Stephan Eisfeld
2019-03-13 08:32:00 +01:00
parent d7305a3c83
commit 36de9adfd7

View File

@@ -1172,9 +1172,9 @@ void writeCard(nfcTagObject nfcTag) {
(mifareType == MFRC522::PICC_TYPE_MIFARE_1K ) ||
(mifareType == MFRC522::PICC_TYPE_MIFARE_4K ) )
{
Serial.println(F("Authenticating again using key B..."));
Serial.println(F("Authenticating again using key A..."));
status = mfrc522.PCD_Authenticate(
MFRC522::PICC_CMD_MF_AUTH_KEY_B, trailerBlock, &key, &(mfrc522.uid));
MFRC522::PICC_CMD_MF_AUTH_KEY_A, trailerBlock, &key, &(mfrc522.uid));
}
else if (mifareType == MFRC522::PICC_TYPE_MIFARE_UL )
{