From 127982b1dd6123d26b6abc2ec53966001fb09b23 Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Tue, 25 May 2021 23:55:30 +0200 Subject: [PATCH] Fixed compiler warning --- src/MFRC522_I2C.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MFRC522_I2C.cpp b/src/MFRC522_I2C.cpp index f910d8f..e807de7 100644 --- a/src/MFRC522_I2C.cpp +++ b/src/MFRC522_I2C.cpp @@ -381,7 +381,7 @@ uint8_t MFRC522::PCD_CommunicateWithPICC( uint8_t command, ///< The command to uint8_t rxAlign, ///< In: Defines the bit position in backData[0] for the first bit received. Default 0. bool checkCRC ///< In: True => The last two bytes of the response is assumed to be a CRC_A that must be validated. ) { - uint8_t n, _validBits; + uint8_t n, _validBits{}; unsigned int i; // Prepare values for BitFramingReg