1
0
Fork 0
forked from len0rd/rockbox

Use the correct call to lcd_set_background() for colour LCDs

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7827 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2005-11-12 15:50:40 +00:00
parent e12f797311
commit 85d738346a

View file

@ -930,8 +930,12 @@ void splash(int ticks, /* how long the splash is displayed */
x += w+SPACE; /* pixels space! */
next = strtok_r(NULL, " ", &store);
}
#if defined(HAVE_LCD_BITMAP) && (LCD_DEPTH > 1)
lcd_set_background(LCD_WHITE);
#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
#endif
lcd_update();