max 34
This commit is contained in:
parent
ed39c215d0
commit
6baa5781c3
1 changed files with 1 additions and 1 deletions
|
@ -558,7 +558,7 @@ void loop() {
|
||||||
lastDataTime = millis(); // Reset the time of last received data
|
lastDataTime = millis(); // Reset the time of last received data
|
||||||
}
|
}
|
||||||
|
|
||||||
if (millis() - lastDataTime >= displayDelay && cardData != 0 && (bitCount == 26 || bitCount == 34 || bitCount == 37)) {
|
if (millis() - lastDataTime >= displayDelay && cardData != 0 && (bitCount == 26 || bitCount == 34)) {
|
||||||
|
|
||||||
uint64_t facilityID = (cardData >> 17) & 0xFFFF;
|
uint64_t facilityID = (cardData >> 17) & 0xFFFF;
|
||||||
uint64_t cardID = (cardData >> 1) & 0xFFFF;
|
uint64_t cardID = (cardData >> 1) & 0xFFFF;
|
||||||
|
|
Loading…
Reference in a new issue