Skip to content

Commit

Permalink
Bugfix for typo of TwoWire
Browse files Browse the repository at this point in the history
  • Loading branch information
Haefele Frank (XC-AS/EDP5) committed Sep 4, 2024
1 parent 9ac6e0b commit 061789c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/LCD-I2C.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* @param beginWire if true start I²C wire
*/
void LCD_I2C::begin(Twowire *wire) {
void LCD_I2C::begin(TwoWire *wire) {
_wire = wire;

// Clear i2c adapter
Expand Down
2 changes: 1 addition & 1 deletion src/LCD-I2C.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class LCD_I2C : public Print {


private:
TwoWire *_wire;
TwoWire *_wire{nullptr};
uint8_t _address;
uint8_t _columnMax;
uint8_t _rowMax;
Expand Down

0 comments on commit 061789c

Please sign in to comment.