Use correct sleep function in simulator queue wait.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9343 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e7a6749c41
commit
d0c65f76b2
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ void queue_wait_w_tmo(struct event_queue *q, struct event *ev, int ticks)
|
|||
|
||||
while(q->read == q->write && TIME_BEFORE( current_tick, timeout ))
|
||||
{
|
||||
sleep(1);
|
||||
sim_sleep(1);
|
||||
}
|
||||
|
||||
if(q->read != q->write)
|
||||
|
|
Loading…
Reference in a new issue