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:
Dan Everton 2006-03-29 12:11:28 +00:00
parent e7a6749c41
commit d0c65f76b2

View file

@ -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)