This commit is contained in:
2021-12-17 13:47:24 +01:00
parent 010572211c
commit 57b6142a31
14 changed files with 110 additions and 21 deletions

View File

@@ -26,7 +26,7 @@ void handleRfid()
if (lastRFID - timeNow > RFIDINTERVAL && RfidScanActive)
{
log_i("scanning");
if (nfc.tagPresent())
if (nfc.tagPresent(100))
{
NfcTag tag = nfc.read();
lastUid = tag.getUidString();