Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile on Arduino IDE with ESP32 update v3.0.1 #4

Open
jmazzll opened this issue Jun 15, 2024 · 0 comments
Open

Can't compile on Arduino IDE with ESP32 update v3.0.1 #4

jmazzll opened this issue Jun 15, 2024 · 0 comments

Comments

@jmazzll
Copy link

jmazzll commented Jun 15, 2024

Hello
I've noticed the examples can't compile with this update.
Here is the error i get.

c:\Users\xxxx\Documents\Arduino\libraries\MFRC522\src\MFRC522Extended.cpp: In member function 'MFRC522::StatusCode MFRC522Extended::TCL_Transceive(TagInfo*, byte*, byte, byte*, byte*)':
c:\Users\xxx\Documents\Arduino\libraries\MFRC522\src\MFRC522Extended.cpp:824:34: error: ordered comparison of pointer with integer zero ('byte*' {aka 'unsigned char*'} and 'int')
824 | if (backData && (backLen > 0)) {
| ~~~~~~~~^~~
c:\Users\xxx\Documents\Arduino\libraries\MFRC522\src\MFRC522Extended.cpp:847:42: error: ordered comparison of pointer with integer zero ('byte*' {aka 'unsigned char*'} and 'int')
847 | if (backData && (backLen > 0)) {
| ~~~~~~~~^~~

exit status 1

Compilation error: exit status 1
Capture

I went back on previous 2.0.17 version and it works again.

Thanks for your library !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant