mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
Fix r29053 red and a leftover use of 'usb' variable as a bool rather than int in main-pp.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29054 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3a1127785b
commit
71651cacb6
4 changed files with 19 additions and 16 deletions
|
|
@ -35,9 +35,10 @@ void dm320_set_io (char pin_num, bool input, bool invert, bool irq, bool irqany,
|
|||
bool chat, char func_num );
|
||||
|
||||
#if defined(CREATIVE_ZVx) && defined(BOOTLOADER)
|
||||
/* hacky.. */
|
||||
#define SLEEP_KERNEL_HOOK(ticks) \
|
||||
({ \ /* hacky.. */
|
||||
long _sleep_ticks = current_tick + ticks + 1; \
|
||||
({ \
|
||||
long _sleep_ticks = current_tick + (ticks) + 1; \
|
||||
while (TIME_BEFORE(current_tick, _sleep_ticks)) \
|
||||
switch_thread(); \
|
||||
true; }) /* handled here */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue