Reset timer when toggling pn532 nfc mode

This commit is contained in:
Laura Hausmann 2023-04-22 03:43:14 +02:00
parent 1f9bc1b7d3
commit 58d04bbed7
Signed by: zotan
GPG key ID: D044E84C5BE01605

View file

@ -172,6 +172,9 @@ void loop() {
updateCardscan();
if (PN532Reader::toggleMode)
timer = millis();
if (interruptFired) {
timer = millis();
interruptFired = false;