ソースを参照

Merge pull request #487 from MStohn/fix-bad-lcd-commit-from-buildrob

fix broken LCD commit #dfa549f268 from buildrob - GLCD/DOGM implementati...
ErikZalm 12年前
コミット
68f9f2521e
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

読み込み中…
キャンセル
保存