miguelbalboa / rfid

Arduino RFID Library for MFRC522
The Unlicense
2.73k stars 1.42k forks source link

"the ordered comparison of pointer with integer zero" Fix for RP2040 (earlephilhower core > 3.3x) #610

Closed madias123 closed 6 months ago

madias123 commented 9 months ago

On newer cores, the library won't compile -> " the ordered comparison of pointer with integer zero" to get rid of this, change in MFRC522Extended.cpp the lines 824 and 847 from: if (backData && (backLen > 0)) into if (backData && (backLen != nullptr))