From 7fe7427de8568f78acd447bd072377bdbf406127 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sat, 12 Aug 2006 09:27:26 +0000 Subject: Clean up the #ifdefs surrounding the definition of lcd_yuv_blit() and add an initial (untested) implementation for the Gigabeat git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10541 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/lcd.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'firmware/export') diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index 147940fa4f..b74a9d30c7 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h @@ -71,12 +71,10 @@ extern void lcd_puts_scroll_style(int x, int y, const unsigned char* string, int style); extern void lcd_icon(int icon, bool enable); -#if CONFIG_LCD == LCD_IPODCOLOR || CONFIG_LCD == LCD_IPODNANO \ - || CONFIG_LCD == LCD_H300 || CONFIG_LCD == LCD_IPODVIDEO \ - || CONFIG_LCD == LCD_X5 -void lcd_yuv_blit(unsigned char * const src[3], - int src_x, int src_y, int stride, - int x, int y, int width, int height); +#if defined(HAVE_LCD_COLOR) && !defined(SIMULATOR) +extern void lcd_yuv_blit(unsigned char * const src[3], + int src_x, int src_y, int stride, + int x, int y, int width, int height); #endif #if defined(SIMULATOR) || defined(HAVE_LCD_BITMAP) -- cgit v1.2.3