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
diff --git a/firmware/drivers/i2c.c b/firmware/drivers/i2c.c
index 83ac21f..fe4114e 100644
--- a/firmware/drivers/i2c.c
+++ b/firmware/drivers/i2c.c
@@ -121,7 +121,7 @@
     
     SCL_INPUT;   /* Set the clock to input */
     while(!SCL)  /* and wait for the MAS to release it */
-        sleep_thread(1);
+        sleep(1);
 
     DELAY;
     SCL_OUTPUT;
@@ -143,7 +143,7 @@
     SDA_INPUT;   /* And set to input */
     SCL_INPUT;   /* Set the clock to input */
     while(!SCL)  /* and wait for the MAS to release it */
-        sleep_thread(1);
+        sleep(1);
     
     if (SDA)
         /* ack failed */
diff --git a/firmware/mpeg.c b/firmware/mpeg.c
index f2322e5..273f630 100644
--- a/firmware/mpeg.c
+++ b/firmware/mpeg.c
@@ -2077,7 +2077,7 @@
     queue_post(&mpeg_queue, MPEG_INIT_PLAYBACK, 0);
 
     while(!init_playback_done)
-        sleep_thread(1);
+        sleep(1);
 }
 
 
@@ -2091,7 +2091,7 @@
     queue_post(&mpeg_queue, MPEG_INIT_RECORDING, 0);
 
     while(!init_recording_done)
-        sleep_thread(1);
+        sleep(1);
 }
 
 static void init_recording(void)
diff --git a/firmware/target/sh/archos/ondio/fmradio_i2c-ondio.c b/firmware/target/sh/archos/ondio/fmradio_i2c-ondio.c
index f627974..0cf5e0b 100644
--- a/firmware/target/sh/archos/ondio/fmradio_i2c-ondio.c
+++ b/firmware/target/sh/archos/ondio/fmradio_i2c-ondio.c
@@ -5,7 +5,7 @@
  *   Jukebox    |    |   (  <_> )  \___|    < | \_\ (  <_> > <  <
  *   Firmware   |____|_  /\____/ \___  >__|_ \|___  /\____/__/\_ \
  *                     \/            \/     \/    \/            \/
- * $Id:$
+ * $Id$
  * Physical interface of the Philips TEA5767 in Archos Ondio
  *
  * Copyright (C) 2002 by Linus Nielsen Feltzing
@@ -77,7 +77,7 @@
     
     SCL_INPUT;   /* Set the clock to input */
     while(!SCL)  /* and wait for the slave to release it */
-        sleep_thread(0);
+        sleep(0);
 
     DELAY;
     SCL_OUTPUT;
@@ -96,7 +96,7 @@
     SDA_INPUT;   /* And set to input */
     SCL_INPUT;   /* Set the clock to input */
     while(!SCL)  /* and wait for the slave to release it */
-        sleep_thread(0);
+        sleep(0);
     
     if (SDA)
         /* ack failed */