summaryrefslogtreecommitdiff
path: root/firmware/export/lcd-remote.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/lcd-remote.h')
-rw-r--r--firmware/export/lcd-remote.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/lcd-remote.h b/firmware/export/lcd-remote.h
index 3c013d657a..01df5a7eab 100644
--- a/firmware/export/lcd-remote.h
+++ b/firmware/export/lcd-remote.h
@@ -48,13 +48,17 @@ int remote_type(void);
48#if (LCD_REMOTE_PIXELFORMAT == VERTICAL_INTERLEAVED) \ 48#if (LCD_REMOTE_PIXELFORMAT == VERTICAL_INTERLEAVED) \
49 || (LCD_REMOTE_PIXELFORMAT == HORIZONTAL_INTERLEAVED) 49 || (LCD_REMOTE_PIXELFORMAT == HORIZONTAL_INTERLEAVED)
50typedef unsigned short fb_remote_data; 50typedef unsigned short fb_remote_data;
51#define FB_RDATA_SZ 2
51#else 52#else
52typedef unsigned char fb_remote_data; 53typedef unsigned char fb_remote_data;
54#define FB_RDATA_SZ 1
53#endif 55#endif
54#elif LCD_DEPTH <= 16 56#elif LCD_DEPTH <= 16
55typedef unsigned short fb_remote_data; 57typedef unsigned short fb_remote_data;
58#define FB_RDATA_SZ 2
56#else 59#else
57typedef unsigned long fb_remote_data; 60typedef unsigned long fb_remote_data;
61#define FB_RDATA_SZ 4
58#endif 62#endif
59 63
60/* common functions */ 64/* common functions */