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 ace1f6b + 6d657f7 commit 641482dCopy full SHA for 641482d
libraries/Wire/Wire.cpp
@@ -81,7 +81,7 @@ uint8_t TwoWire::requestFrom(uint8_t address, size_t quantity, bool stopBit)
81
if(i2c->start(i2c->devinfo, address, WIRE_READ_FLAG))
82
{
83
84
- i2c->read_bytes(i2c->devinfo, rxBuffer._aucBuffer, quantity);
+ byteRead = i2c->read_bytes(i2c->devinfo, rxBuffer._aucBuffer, quantity);
85
rxBuffer._iHead = quantity;
86
87
if (stopBit)
0 commit comments