浏览代码

Enable LCD_PIN_RESET if it exists (PR#2375)

Scott Lahteine 10 年前
父节点
当前提交
a5033c3652
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5
    0
      Marlin/dogm_lcd_implementation.h

+ 5
- 0
Marlin/dogm_lcd_implementation.h 查看文件

@@ -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

正在加载...
取消
保存