summaryrefslogtreecommitdiff
path: root/firmware/mp3data.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/mp3data.c')
-rw-r--r--firmware/mp3data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/mp3data.c b/firmware/mp3data.c
index e899125..087bcf5 100644
--- a/firmware/mp3data.c
+++ b/firmware/mp3data.c
@@ -266,7 +266,7 @@ static int fileread(int fd, unsigned char *c)
#if defined(IRIVER_H100) && !defined(SIMULATOR)
/* We don't want to eat all cpu power. Maybe better way to do this
should be implemented. */
- while (pcm_is_lowdata())
+ if (pcm_is_lowdata())
yield();
#endif