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
@ -297,7 +297,7 @@ static void lcd_implementation_init()
|
||||
B00000
|
||||
}; //thanks Sonny Mounicou
|
||||
|
||||
#if defined(LCDI2C_TYPE_PCF8575)
|
||||
#if defined(LCD_I2C_TYPE_PCF8575)
|
||||
lcd.begin(LCD_WIDTH, LCD_HEIGHT);
|
||||
#ifdef LCD_I2C_PIN_BL
|
||||
lcd.setBacklightPin(LCD_I2C_PIN_BL,POSITIVE);
|
||||
|
Loading…
Reference in New Issue
Block a user