forked from len0rd/rockbox
didn't commit this. allows for delay display of splash screen from menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@829 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
44624521ff
commit
bca0ca0be7
1 changed files with 4 additions and 2 deletions
|
@ -56,6 +56,8 @@ int show_logo(void)
|
|||
int i;
|
||||
int eline;
|
||||
|
||||
lcd_clear_display();
|
||||
|
||||
for(i=0, eline=0; i< height; i+=8, eline++) {
|
||||
/* the bitmap function doesn't work with full-height bitmaps
|
||||
so we "stripe" the logo output */
|
||||
|
@ -75,10 +77,10 @@ int show_logo(void)
|
|||
|
||||
void show_splash(void)
|
||||
{
|
||||
lcd_clear_display();
|
||||
|
||||
if (show_logo() != 0)
|
||||
return;
|
||||
|
||||
sleep(200);
|
||||
}
|
||||
|
||||
void version(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue