From a98c54f5f121f6323cb230e44b9f1b8d40b07283 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Sun, 21 Jun 2009 14:09:48 +0000 Subject: Do not use lcd_blit_yuv() if MEMORYSIZE <= 2, since mpegplayer won't run anyway (and won't build) Only affected target: Sansa c200v2 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21453 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/lcd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware/export') 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, /* performance function */ #if defined(HAVE_LCD_COLOR) +#if MEMORYSIZE > 2 #define LCD_YUV_DITHER 0x1 extern void lcd_yuv_set_options(unsigned options); extern void lcd_blit_yuv(unsigned char * const src[3], int src_x, int src_y, int stride, int x, int y, int width, int height); +#endif /* MEMORYSIZE > 2 */ #else extern void lcd_blit_mono(const unsigned char *data, int x, int by, int width, int bheight, int stride); -- cgit v1.2.3