diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/lcd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index 870a9d3f61..11fcc98a66 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h | |||
@@ -151,11 +151,13 @@ extern void lcd_puts_scroll_style(int x, int y, const unsigned char* string, | |||
151 | 151 | ||
152 | /* performance function */ | 152 | /* performance function */ |
153 | #if defined(HAVE_LCD_COLOR) | 153 | #if defined(HAVE_LCD_COLOR) |
154 | #if MEMORYSIZE > 2 | ||
154 | #define LCD_YUV_DITHER 0x1 | 155 | #define LCD_YUV_DITHER 0x1 |
155 | extern void lcd_yuv_set_options(unsigned options); | 156 | extern void lcd_yuv_set_options(unsigned options); |
156 | extern void lcd_blit_yuv(unsigned char * const src[3], | 157 | extern void lcd_blit_yuv(unsigned char * const src[3], |
157 | int src_x, int src_y, int stride, | 158 | int src_x, int src_y, int stride, |
158 | int x, int y, int width, int height); | 159 | int x, int y, int width, int height); |
160 | #endif /* MEMORYSIZE > 2 */ | ||
159 | #else | 161 | #else |
160 | extern void lcd_blit_mono(const unsigned char *data, int x, int by, int width, | 162 | extern void lcd_blit_mono(const unsigned char *data, int x, int by, int width, |
161 | int bheight, int stride); | 163 | int bheight, int stride); |