mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-23 20:18:52 +00:00
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
|
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user