diff options
| author | Dave Chapman <dave@dchapman.com> | 2005-11-12 18:40:43 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2005-11-12 18:40:43 +0000 |
| commit | d22994c79b3bb18ee64f54300a51ae4197593c5d (patch) | |
| tree | e6b20a7dce070a1332613ca1de5f9251b4223ec0 /apps | |
| parent | 64e5239b4c668d7fd7b5372e9d679bc6e041028b (diff) | |
| download | rockbox-d22994c79b3bb18ee64f54300a51ae4197593c5d.zip rockbox-d22994c79b3bb18ee64f54300a51ae4197593c5d.tar.gz rockbox-d22994c79b3bb18ee64f54300a51ae4197593c5d.tar.bz2 rockbox-d22994c79b3bb18ee64f54300a51ae4197593c5d.tar.xz | |
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
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/screens.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/apps/screens.c b/apps/screens.c index cb4e081..d0ddab3 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(); |