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...