Skip to content

Commit a7b4550

Browse files
committed
Fix unused parameter 'cols' warning [-Wunused-parameter] in begin(int cols, int lines)
Signed-off-by: Eddy Petrișor <[email protected]>
1 parent 8069028 commit a7b4550

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)