Skip to content

Commit 2181dc1

Browse files
committed
Forgot to rename the variables.
1 parent afdd882 commit 2181dc1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

LiquidCrystal_I2C.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ LiquidCrystal_I2C::LiquidCrystal_I2C(uint8_t lcd_addr, uint8_t lcd_cols, uint8_t
2727
_addr = lcd_addr;
2828
_cols = lcd_cols;
2929
_rows = lcd_rows;
30-
_dotsize = dotsize;
30+
_charsize = charsize;
3131
_backlightval = LCD_NOBACKLIGHT;
3232
}
3333

@@ -40,7 +40,7 @@ void LiquidCrystal_I2C::begin() {
4040
}
4141

4242
// for some 1 line displays you can select a 10 pixel high font
43-
if ((_dotsize != 0) && (_rows == 1)) {
43+
if ((_charsize != 0) && (_rows == 1)) {
4444
_displayfunction |= LCD_5x10DOTS;
4545
}
4646

LiquidCrystal_I2C.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class LiquidCrystal_I2C : public Print {
112112
uint8_t _displaymode;
113113
uint8_t _cols;
114114
uint8_t _rows;
115-
uint8_t _dotsize;
115+
uint8_t _charsize;
116116
uint8_t _backlightval;
117117
};
118118

0 commit comments

Comments
 (0)