M5Dial\MFRC522.cpp error
-
Hi Team:
I am getting the following error on an Arduino program that worked perfectly prior.
c:\Work\ArduinoV2\libraries\M5Dial\src\utility\MFRC522.cpp: In member function 'uint8_t MFRC522::PCD_CommunicateWithPICC(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t*, uint8_t*, uint8_t, bool)':
c:\Work\ArduinoV2\libraries\M5Dial\src\utility\MFRC522.cpp:464:20: error: '_validBits' may be used uninitialized in this function [-Werror=maybe-uninitialized]
if (backLen < 2 || _validBits != 0) {
~^~~~~~
cc1plus.exe: some warnings being treated as errors*I am using
Arduino IDE - C2.3.4
esp32 by Espressif Systems 3.1.1
M5Stack by M5Stack official 2.1.3Any help/ideas?
-
-
@felmue Thanks so much, that fixed it...
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login