Skip to content

Commit 51a3a08

Browse files
authored
Merge pull request #10 from uCautomation/fix-unused-cols-parameter-warning
Fix unused parameter 'cols' warning [-Wunused-parameter] in begin(int cols, int lines)
2 parents 285241d + a7b4550 commit 51a3a08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LiquidCrystal_PCF8574.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ LiquidCrystal_PCF8574::LiquidCrystal_PCF8574(int i2cAddr)
3333

3434
void LiquidCrystal_PCF8574::begin(int cols, int lines)
3535
{
36-
// _cols = cols ignored !
36+
(void)cols; // ignored !
3737
_lines = lines;
3838

3939
int functionFlags = 0;

0 commit comments

Comments
 (0)