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.
1 parent 6aa6dc1 commit de71470Copy full SHA for de71470
libraries/Wire/Wire.cpp
@@ -71,6 +71,8 @@ uint8_t TwoWire::requestFrom(uint8_t address, size_t quantity, bool stopBit)
71
72
size_t byteRead = 0;
73
74
+ rxBuffer.clear();
75
+
76
if(sercom->startTransmissionWIRE(address, WIRE_READ_FLAG))
77
{
78
// Read first data
0 commit comments