We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b3e801f + 8d87fce commit 962c253Copy full SHA for 962c253
examples/Unit/RFID_RC522/MFRC522_I2C.cpp
@@ -76,8 +76,8 @@ byte MFRC522::PCD_ReadRegister(
76
Wire.beginTransmission(_chipAddress);
77
Wire.write(reg);
78
Wire.endTransmission();
79
-
80
- Wire.requestFrom(_chipAddress, 1);
+ const uint8_t sz = 1;
+ Wire.requestFrom(_chipAddress, sz);
81
value = Wire.read();
82
return value;
83
} // End PCD_ReadRegister()
0 commit comments