miguelbalboa / rfid

Arduino RFID Library for MFRC522
The Unlicense
2.77k stars 1.44k forks source link

Resolved : cards not stored properly #389

Closed ankurbhatia24 closed 6 years ago

ankurbhatia24 commented 6 years ago

In the code when i = 1 and the count =1 (which means there is a card registered) the '<' makes the condition not to be true at that time. ' <=' resolves the issue.

| Bug fix? | yes

Rotzbua commented 6 years ago

Well, I think this maybe right but not on the other hand.

Your PR reverts #346 which seems also a legit fix.

A better solution should be developed..

ankurbhatia24 commented 6 years ago

Ok! I'll see to it!! But it fixed my code!

Rotzbua commented 6 years ago

Closed in favour of bug report: #403 new solutions are welcome