Skip to content

Commit

Permalink
Fix compiler warning and an indent.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtwfroody committed Jan 13, 2018
1 parent 9781382 commit 98cbe10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libraries/Wire/src/Wire.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ TwoWire::TwoWire(uint8_t bus_num)
,txAddress(0)
,txQueued(0)
,transmitting(0)
,_timeOutMillis(50)
,last_error(I2C_ERROR_OK)
,_timeOutMillis(50)
,_dump(false)
{}

Expand Down
2 changes: 1 addition & 1 deletion libraries/Wire/src/Wire.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class TwoWire: public Stream
void onRequestService(void);
void onReceiveService(uint8_t*, int);
*/
i2c_err_t last_error; // @stickBreaker from esp32-hal-i2c.h
i2c_err_t last_error; // @stickBreaker from esp32-hal-i2c.h
i2c_err_t processQueue(uint32_t *readCount);
uint16_t _timeOutMillis;
bool _dump;
Expand Down

0 comments on commit 98cbe10

Please sign in to comment.