diff options
Diffstat (limited to 'firmware/export/lcd-remote.h')
-rw-r--r-- | firmware/export/lcd-remote.h | 4 |
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) |
50 | typedef unsigned short fb_remote_data; | 50 | typedef unsigned short fb_remote_data; |
51 | #define FB_RDATA_SZ 2 | ||
51 | #else | 52 | #else |
52 | typedef unsigned char fb_remote_data; | 53 | typedef 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 |
55 | typedef unsigned short fb_remote_data; | 57 | typedef unsigned short fb_remote_data; |
58 | #define FB_RDATA_SZ 2 | ||
56 | #else | 59 | #else |
57 | typedef unsigned long fb_remote_data; | 60 | typedef unsigned long fb_remote_data; |
61 | #define FB_RDATA_SZ 4 | ||
58 | #endif | 62 | #endif |
59 | 63 | ||
60 | /* common functions */ | 64 | /* common functions */ |