Enable LCD_PIN_RESET if it exists (PR#2375)

This commit is contained in:
Scott Lahteine 2015-07-03 21:29:31 -07:00 committed by Richard Wackerbarth
parent 23c8c5348f
commit a5033c3652

View file

@ -197,6 +197,11 @@ static void lcd_implementation_init() {
digitalWrite(LCD_PIN_BL, HIGH); digitalWrite(LCD_PIN_BL, HIGH);
#endif #endif
#ifdef LCD_PIN_RESET
pinMode(LCD_PIN_RESET, OUTPUT);
digitalWrite(LCD_PIN_RESET, HIGH);
#endif
u8g.setContrast(lcd_contrast); u8g.setContrast(lcd_contrast);
// FIXME: remove this workaround // FIXME: remove this workaround
// Uncomment this if you have the first generation (V1.10) of STBs board // Uncomment this if you have the first generation (V1.10) of STBs board