summaryrefslogtreecommitdiffstats
path: root/firmware/target/sh
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-03-20 15:20:06 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-03-20 15:20:06 +0000
commited8445f20527827093128db8d59d7ccb2cf9e385 (patch)
tree8fcc94fdd3ce507e5f51e1d3cbb8f0aa94d3f4d2 /firmware/target/sh
parent24cbf6e90d379eee3b342e725e30def326e1d4b8 (diff)
downloadrockbox-ed8445f20527827093128db8d59d7ccb2cf9e385.tar.gz
rockbox-ed8445f20527827093128db8d59d7ccb2cf9e385.tar.bz2
rockbox-ed8445f20527827093128db8d59d7ccb2cf9e385.zip
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
Diffstat (limited to 'firmware/target/sh')
-rw-r--r--firmware/target/sh/archos/ondio/fmradio_i2c-ondio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/sh/archos/ondio/fmradio_i2c-ondio.c b/firmware/target/sh/archos/ondio/fmradio_i2c-ondio.c
index f62797480a..0cf5e0b6f8 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 @@ static void fmradio_i2c_ack(bool nack)
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 @@ static int fmradio_i2c_getack(void)
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 */