forked from len0rd/rockbox
Change files to use the public function sleep() and not the intenal kernel function sleep_thread().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16719 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
24cbf6e90d
commit
ed8445f205
3 changed files with 7 additions and 7 deletions
|
|
@ -2077,7 +2077,7 @@ void audio_init_playback(void)
|
|||
queue_post(&mpeg_queue, MPEG_INIT_PLAYBACK, 0);
|
||||
|
||||
while(!init_playback_done)
|
||||
sleep_thread(1);
|
||||
sleep(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -2091,7 +2091,7 @@ void audio_init_recording(unsigned int buffer_offset)
|
|||
queue_post(&mpeg_queue, MPEG_INIT_RECORDING, 0);
|
||||
|
||||
while(!init_recording_done)
|
||||
sleep_thread(1);
|
||||
sleep(1);
|
||||
}
|
||||
|
||||
static void init_recording(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue