Browse Source

Forgot to fix nfc15693 as well. So here we go.

master
Torsten Stauder 4 years ago
parent
commit
1645d5ebeb
  1. 4
      src/RfidPn5180.cpp

4
src/RfidPn5180.cpp

@ -122,6 +122,10 @@ extern unsigned long Rfid_LastRfidCheckTimestamp;
ISO15693ErrorCode rc = nfc15693.getInventory(uid); ISO15693ErrorCode rc = nfc15693.getInventory(uid);
if (rc == ISO15693_EC_OK) { if (rc == ISO15693_EC_OK) {
cardReceived = true; cardReceived = true;
} else {
for (uint8_t i=0; i<cardIdSize; i++) {
lastCardId[i] = 0;
}
} }
} }

Loading…
Cancel
Save