forked from len0rd/rockbox
Disable bootloader messages in the H10 and Sansa bootloaders unless the PLAY (on H10) or RIGHT (on Sansa) button is being held. Messages are still displayed if an error occurs. This has already been implemented for iPod bootloaders, but still needs implementing for the other bootloaders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12742 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
62dbd97e90
commit
2370998a87
4 changed files with 61 additions and 20 deletions
|
@ -72,6 +72,10 @@ void sleep(int ticks)
|
|||
counter = TCNTO4;
|
||||
} while(counter > 0);
|
||||
|
||||
#elif defined(CPU_PP) && defined(BOOTLOADER)
|
||||
unsigned stop = USEC_TIMER + ticks * (1000000/HZ);
|
||||
while (TIME_BEFORE(USEC_TIMER, stop))
|
||||
switch_thread(true,NULL);
|
||||
#else
|
||||
sleep_thread(ticks);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue