Browse Source

Enable LCD_PIN_RESET if it exists (PR#2375)

Scott Lahteine 9 years ago
parent
commit
a5033c3652
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      Marlin/dogm_lcd_implementation.h

+ 5
- 0
Marlin/dogm_lcd_implementation.h View 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…
Cancel
Save