summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/lcd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h
index a6ecc975c2..474500db5f 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -70,6 +70,7 @@ struct viewport {
70#include "file.h" /* for MAX_PATH; FIXME: Why does this not work for sims? */ 70#include "file.h" /* for MAX_PATH; FIXME: Why does this not work for sims? */
71#endif /* SIMULATOR */ 71#endif /* SIMULATOR */
72 72
73#ifdef HAVE_LCD_BITMAP
73#if LCD_DEPTH <=8 74#if LCD_DEPTH <=8
74#if (LCD_PIXELFORMAT == VERTICAL_INTERLEAVED) \ 75#if (LCD_PIXELFORMAT == VERTICAL_INTERLEAVED) \
75 || (LCD_PIXELFORMAT == HORIZONTAL_INTERLEAVED) 76 || (LCD_PIXELFORMAT == HORIZONTAL_INTERLEAVED)
@@ -83,6 +84,10 @@ typedef unsigned short fb_data;
83typedef unsigned long fb_data; 84typedef unsigned long fb_data;
84#endif /* LCD_DEPTH */ 85#endif /* LCD_DEPTH */
85 86
87#else /* LCD_CHARCELLS */
88typedef unsigned char fb_data;
89#endif
90
86/* common functions */ 91/* common functions */
87extern void lcd_write_command(int byte); 92extern void lcd_write_command(int byte);
88extern void lcd_write_command_e(int cmd, int data); 93extern void lcd_write_command_e(int cmd, int data);