Rockbox Development > Starting Development and Compiling

Rockbox bootscreen delay

<< < (2/2)

Mikerman:
Thanks, that's great--will check it out.

I think this is another nice security feature--put a "return me" notice on the opening splashscreen and add a time delay or stall, and it helps "remind" someone to return a found player.

Mikerman:
Thanks, firebane, just tried doing this with the play button pause option (see above), but when compiling, I get an error message,


--- Quote ---main.c:125: error: 'BUTTON_PLAY' undeclared (first use in this function)
--- End quote ---

I thought I did what was noted above--any suggestion?  If it's of any assistance, this is on an iRiver H1xx player.

edit:

I also just tried the alternate method, by adding the line (where noted):


--- Quote ---sleep(5);
--- End quote ---


(I assume that I wasn't supposed to add the 2 slash lines--but if I am wrong, please let me know.)

This pauses the bootscreen sometimes, but not consistently (and actually, less than 50% of the time from a cold start)--I can't discern a pattern there.

Thanks--

Navigation

[0] Message Index

[*] Previous page

Go to full version