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:
parent
e12f797311
commit
85d738346a
1 changed files with 6 additions and 2 deletions
|
@ -930,8 +930,12 @@ void splash(int ticks, /* how long the splash is displayed */
|
||||||
x += w+SPACE; /* pixels space! */
|
x += w+SPACE; /* pixels space! */
|
||||||
next = strtok_r(NULL, " ", &store);
|
next = strtok_r(NULL, " ", &store);
|
||||||
}
|
}
|
||||||
#if defined(HAVE_LCD_BITMAP) && (LCD_DEPTH > 1)
|
#if LCD_DEPTH > 1
|
||||||
lcd_set_background(LCD_WHITE);
|
#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
|
#endif
|
||||||
lcd_update();
|
lcd_update();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue