From d22994c79b3bb18ee64f54300a51ae4197593c5d Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sat, 12 Nov 2005 18:40:43 +0000 Subject: [PATCH] Use LCD_WHITE macro - this is defined for both greyscale and colour LCDs git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7831 a1c6a512-1295-4272-9138-f99709370657 --- apps/screens.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/apps/screens.c b/apps/screens.c index cb4e081ae8..d0ddab3597 100644 --- a/apps/screens.c +++ b/apps/screens.c @@ -879,11 +879,7 @@ void splash(int ticks, /* how long the splash is displayed */ int xx = (LCD_WIDTH-maxw)/2 - 2; /* The new graphics routines handle clipping, so no need to check */ #if LCD_DEPTH > 1 -#ifdef HAVE_LCD_COLOR - lcd_set_background((struct rgb){LCD_MAX_RED-1, LCD_MAX_GREEN-1, LCD_MAX_BLUE-1}); -#else - lcd_set_background(LCD_MAX_LEVEL-1); -#endif + lcd_set_background(LCD_WHITE); #endif lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID); lcd_fillrect(xx, y-2, maxw+4, LCD_HEIGHT-y*2+4); @@ -931,11 +927,7 @@ void splash(int ticks, /* how long the splash is displayed */ next = strtok_r(NULL, " ", &store); } #if LCD_DEPTH > 1 -#ifdef HAVE_LCD_COLOR - lcd_set_background((struct rgb){LCD_MAX_RED-1, LCD_MAX_GREEN-1, LCD_MAX_BLUE-1}); -#else - lcd_set_background(LCD_MAX_LEVEL-1); -#endif + lcd_set_background(LCD_WHITE); #endif lcd_update();