Sfoglia il codice sorgente

Enable LCD_PIN_RESET if it exists (PR#2375)

Scott Lahteine 9 anni fa
parent
commit
a5033c3652
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5
    0
      Marlin/dogm_lcd_implementation.h

+ 5
- 0
Marlin/dogm_lcd_implementation.h Vedi File

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

Loading…
Annulla
Salva