don / NDEF

NDEF Library for Arduino. Read and Write NDEF Messages to NFC tags with Arduino.
Other
284 stars 142 forks source link

Fix crash on esp8266 #56

Open GeorgeBekh opened 4 years ago

GeorgeBekh commented 4 years ago

I'm not sure if it's correct but looking at the code it seems logical for true instead of false to be there. Since the name of the function is isUnformatted not `isFormatted...

Also it fixes crashing after certain number of readings with specific cards for me (esp8266). E.g. on 2-d or sometimes on 3-d read of a 'bad' card esp8266 completely crashes and goes into reboot. This PR fixes it