Merge pull request #3244 from ch100/RCBugFix
Fixed backlight for PCF8575.
This commit is contained in:
commit
0d554c10ac
@ -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 New Issue
Block a user