forked from len0rd/rockbox
revert r19638 which was just bad...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19720 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
faa01e9e94
commit
23825fdb43
1 changed files with 2 additions and 6 deletions
|
|
@ -373,7 +373,6 @@ static void roll_credits(void)
|
|||
|
||||
enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter)
|
||||
{
|
||||
long finish;
|
||||
(void)parameter;
|
||||
rb = api;
|
||||
|
||||
|
|
@ -386,10 +385,7 @@ enum plugin_status plugin_start(const struct plugin_api* api, const void* parame
|
|||
#endif
|
||||
|
||||
/* Show the logo for about 3 secs allowing the user to stop */
|
||||
finish = *rb->current_tick + 3*HZ;
|
||||
while (*rb->current_tick < finish)
|
||||
if(rb->action_userabort(finish - *rb->current_tick))
|
||||
break;
|
||||
if(!rb->action_userabort(3*HZ))
|
||||
roll_credits();
|
||||
|
||||
/* Turn on backlight timeout (revert to settings) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue