소스 검색

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
 * Implementation of the LCD display routines for a DOGM128 graphic display. These are common LCD 128x64 pixel graphic displays.
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
 // CHANGE_DE begin ***
36
 // CHANGE_DE begin ***
24
 #include <U8glib.h>	// DE_U8glib
37
 #include <U8glib.h>	// DE_U8glib

Loading…
취소
저장