We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83c622e commit 6b1c62eCopy full SHA for 6b1c62e
libraries/Wire/src/Wire.h
@@ -36,14 +36,14 @@ extern "C" {
36
class TwoWire : public Stream {
37
private:
38
uint8_t *rxBuffer;
39
- uint8_t rxBufferAllocated;
40
- uint8_t rxBufferIndex;
41
- uint8_t rxBufferLength;
+ uint16_t rxBufferAllocated;
+ uint16_t rxBufferIndex;
+ uint16_t rxBufferLength;
42
43
uint8_t txAddress;
44
uint8_t *txBuffer;
45
- uint8_t txBufferAllocated;
46
- uint8_t txDataSize;
+ uint16_t txBufferAllocated;
+ uint16_t txDataSize;
47
48
uint8_t transmitting;
49
0 commit comments