From 8d80cbbf4c7328b9f79c1c8d046d0427c8f7a9ed Mon Sep 17 00:00:00 2001 From: Maik Stohn <marlin@stohn.de> Date: Tue, 21 May 2013 16:53:38 +0200 Subject: [PATCH] fix broken LCD commit #dfa549f268 from buildrob - GLCD/DOGM implementation was ignored --- Marlin/dogm_lcd_implementation.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Marlin/dogm_lcd_implementation.h b/Marlin/dogm_lcd_implementation.h index c5192e7c5a..c45a6a6fa9 100644 --- a/Marlin/dogm_lcd_implementation.h +++ b/Marlin/dogm_lcd_implementation.h @@ -19,6 +19,19 @@ * Implementation of the LCD display routines for a DOGM128 graphic display. These are common LCD 128x64 pixel graphic displays. **/ +ifdef ULTIPANEL +#define BLEN_A 0 +#define BLEN_B 1 +#define BLEN_C 2 +#define EN_A (1<<BLEN_A) +#define EN_B (1<<BLEN_B) +#define EN_C (1<<BLEN_C) +#define encrot0 0 +#define encrot1 2 +#define encrot2 3 +#define encrot3 1 +#define LCD_CLICKED (buttons&EN_C) +#endif // CHANGE_DE begin *** #include <U8glib.h> // DE_U8glib -- GitLab