diff --git a/src/MFRC522.cpp b/src/MFRC522.cpp index fc6edf9..ee3e28a 100644 --- a/src/MFRC522.cpp +++ b/src/MFRC522.cpp @@ -739,7 +739,7 @@ MFRC522::StatusCode MFRC522::PICC_Select( Uid *uid, ///< Pointer to Uid struct count = (collisionPos - 1) % 8; // The bit to modify index = 1 + ((collisionPos - 1) / 8) + (count ? 1 : 0); // First byte is index 0. buffer[index] |= (1 << count); - currentLevelKnownBits = collisionPos; + //currentLevelKnownBits = collisionPos; // FIXME not used further, maybe bug } else if (result != STATUS_OK) { return result;