mirror of
https://github.com/xfjx/TonUINO.git
synced 2025-09-03 03:42:41 +02:00
fixes edge case when detecting nfc tags
This commit is contained in:
@@ -859,7 +859,11 @@ void loop()
|
||||
// ######################################################################
|
||||
|
||||
// nfc tag is unknown but not not blank, ignore
|
||||
else Serial.println(F("nfc | tag is not one of ours"));
|
||||
else {
|
||||
Serial.println(F("nfc | tag is not one of ours"));
|
||||
mfrc522.PICC_HaltA();
|
||||
mfrc522.PCD_StopCrypto1();
|
||||
}
|
||||
}
|
||||
// # end - nfc tag is successfully read
|
||||
// ####################################
|
||||
|
Reference in New Issue
Block a user