Skip to content

Commit

Permalink
Fixes typo for lcd backlighting on I2C PCF8575
Browse files Browse the repository at this point in the history
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.

Original commit by zaubara ([email protected]), 92e1429 in the original Marlin repo. This commit happened shortly after Velleman forked, but manually copied this change over.
  • Loading branch information
birkett committed Jun 14, 2016
1 parent f71da65 commit 36251b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/ultralcd_implementation_hitachi_HD44780.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 36251b7

Please sign in to comment.