Skip to content

Commit

Permalink
Merge pull request #18 from rtwfroody/stickbreaker-cleanup
Browse files Browse the repository at this point in the history
Fix compiler warning and an indent.
@rtwfroody looks good I'll merge it.
  • Loading branch information
stickbreaker authored Jan 13, 2018
2 parents 9781382 + 98cbe10 commit b502fd7
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 b502fd7

Please sign in to comment.