Fails to complie in Particle Web IDE
Closed this issue · 1 comments
richardhawthorn commented
Hi there
When compiling this library in the Particle IDE it returns an error
"lib/MFRC522/MFRC522.cpp:1631:1: control reaches end of non-void function [-Werror=return-type]"
It looks like the function MIFARE_UnbrickUidSector is expected to return a value, but isn't doing so in some conditions.
Returning true at the end of this function (around line 1631 of MFRC522.cpp) looks like it should fix the problem.
pkourany commented
Merged the change. Thanks!