Skip to content

Commit 98cbe10

Browse files
committed
Fix compiler warning and an indent.
1 parent 9781382 commit 98cbe10

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libraries/Wire/src/Wire.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ TwoWire::TwoWire(uint8_t bus_num)
4545
,txAddress(0)
4646
,txQueued(0)
4747
,transmitting(0)
48-
,_timeOutMillis(50)
4948
,last_error(I2C_ERROR_OK)
49+
,_timeOutMillis(50)
5050
,_dump(false)
5151
{}
5252

libraries/Wire/src/Wire.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class TwoWire: public Stream
6060
void onRequestService(void);
6161
void onReceiveService(uint8_t*, int);
6262
*/
63-
i2c_err_t last_error; // @stickBreaker from esp32-hal-i2c.h
63+
i2c_err_t last_error; // @stickBreaker from esp32-hal-i2c.h
6464
i2c_err_t processQueue(uint32_t *readCount);
6565
uint16_t _timeOutMillis;
6666
bool _dump;

0 commit comments

Comments
 (0)