Fixed backlight for PCF8575.
Fixed backlight for PCF8575. Signed-off-by: Christian Inci <chris.pcguy.inci@gmail.com>
This commit is contained in:
parent
3a1e6b1752
commit
627f39e1e3
|
@ -393,7 +393,7 @@ static void lcd_implementation_init(
|
||||||
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);
|
||||||
lcd_implementation_update_indicators();
|
lcd.setBacklight(HIGH);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#elif ENABLED(LCD_I2C_TYPE_MCP23017)
|
#elif ENABLED(LCD_I2C_TYPE_MCP23017)
|
||||||
|
|
Loading…
Reference in a new issue