Closed richardhawthorn closed 2 years ago
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.
Merged the change. Thanks!
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.