Fixes typo for lcd backlighting on I2C PCF8575
When using LCD_I2C_TYPE_PCF8575T (like Sainsmart I2C), the backlight won't come on; the incorrect ifdef blocks the evocation of the backlight functions.
This commit is contained in:
parent
9db9842aea
commit
92e14298b0
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ static void lcd_implementation_init()
|
||||||
B00000
|
B00000
|
||||||
}; //thanks Sonny Mounicou
|
}; //thanks Sonny Mounicou
|
||||||
|
|
||||||
#if defined(LCDI2C_TYPE_PCF8575)
|
#if defined(LCD_I2C_TYPE_PCF8575)
|
||||||
lcd.begin(LCD_WIDTH, LCD_HEIGHT);
|
lcd.begin(LCD_WIDTH, LCD_HEIGHT);
|
||||||
#ifdef LCD_I2C_PIN_BL
|
#ifdef LCD_I2C_PIN_BL
|
||||||
lcd.setBacklightPin(LCD_I2C_PIN_BL,POSITIVE);
|
lcd.setBacklightPin(LCD_I2C_PIN_BL,POSITIVE);
|
||||||
|
|
Reference in a new issue