Skip to content

Commit

Permalink
Trying to fix weird diff on ultralcd_implementation_hitachi_HD44780.h
Browse files Browse the repository at this point in the history
  • Loading branch information
kiyoshigawa committed Jun 8, 2013
1 parent 5c70c78 commit f295712
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Marlin/ultralcd_implementation_hitachi_HD44780.h
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ extern volatile uint16_t buttons; //an extended version of the last checked but
#elif defined(LCD_I2C_TYPE_PCA8574)
#include <LiquidCrystal_I2C.h>
#define LCD_CLASS LiquidCrystal_I2C
LCD_CLASS lcd(LCD_I2C_ADDRESS, LCD_WIDTH, LCD_HEIGHT);
LCD_CLASS lcd(LCD_I2C_ADDRESS, LCD_WIDTH, LCD_HEIGHT);

#else
// Standard directly connected LCD implementations
Expand Down Expand Up @@ -294,9 +294,10 @@ static void lcd_implementation_init()
B00000,
B00000
}; //thanks Sonny Mounicou

#if defined(LCDI2C_TYPE_PCF8575)
lcd.begin(LCD_WIDTH, LCD_HEIGHT);
#ifdef LCD_I2C_PIN_BL
#ifdef LCD_I2C_PIN_BL
lcd.setBacklightPin(LCD_I2C_PIN_BL,POSITIVE);
lcd.setBacklight(HIGH);
#endif
Expand Down

0 comments on commit f295712

Please sign in to comment.