瀏覽代碼

fix broken LCD commit #dfa549f268 from buildrob - GLCD/DOGM implementation was ignored

Maik Stohn 12 年之前
父節點
當前提交
8d80cbbf4c
共有 1 個檔案被更改,包括 13 行新增0 行删除
  1. 13
    0
      Marlin/dogm_lcd_implementation.h

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

@@ -19,6 +19,19 @@
19 19
 * Implementation of the LCD display routines for a DOGM128 graphic display. These are common LCD 128x64 pixel graphic displays.
20 20
 **/
21 21
 
22
+ifdef ULTIPANEL
23
+#define BLEN_A 0
24
+#define BLEN_B 1
25
+#define BLEN_C 2
26
+#define EN_A (1<<BLEN_A)
27
+#define EN_B (1<<BLEN_B)
28
+#define EN_C (1<<BLEN_C)
29
+#define encrot0 0
30
+#define encrot1 2
31
+#define encrot2 3
32
+#define encrot3 1
33
+#define LCD_CLICKED (buttons&EN_C)
34
+#endif
22 35
 
23 36
 // CHANGE_DE begin ***
24 37
 #include <U8glib.h>	// DE_U8glib

Loading…
取消
儲存