Enable LCD_PIN_RESET if it exists (PR#2375)
This commit is contained in:
parent
23c8c5348f
commit
a5033c3652
|
@ -197,6 +197,11 @@ static void lcd_implementation_init() {
|
|||
digitalWrite(LCD_PIN_BL, HIGH);
|
||||
#endif
|
||||
|
||||
#ifdef LCD_PIN_RESET
|
||||
pinMode(LCD_PIN_RESET, OUTPUT);
|
||||
digitalWrite(LCD_PIN_RESET, HIGH);
|
||||
#endif
|
||||
|
||||
u8g.setContrast(lcd_contrast);
|
||||
// FIXME: remove this workaround
|
||||
// Uncomment this if you have the first generation (V1.10) of STBs board
|
||||
|
|
Loading…
Reference in a new issue