summaryrefslogtreecommitdiffstats
path: root/apps/buffering.c
diff options
context:
space:
mode:
authorNicolas Pennequin <nicolas.pennequin@free.fr>2008-03-29 17:40:04 +0000
committerNicolas Pennequin <nicolas.pennequin@free.fr>2008-03-29 17:40:04 +0000
commit12b6c847c52a84608dc4035207a71350b829dd08 (patch)
treeec8dd7b8d998f852d60a637621889d05d720c348 /apps/buffering.c
parent732df386af71dfcf3aa800c2fa2b29073dd94ee7 (diff)
downloadrockbox-12b6c847c52a84608dc4035207a71350b829dd08.tar.gz
rockbox-12b6c847c52a84608dc4035207a71350b829dd08.tar.bz2
rockbox-12b6c847c52a84608dc4035207a71350b829dd08.zip
Fix sim warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16881 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/buffering.c')
-rw-r--r--apps/buffering.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/buffering.c b/apps/buffering.c
index e7dda9835f..9c790da693 100644
--- a/apps/buffering.c
+++ b/apps/buffering.c
@@ -1338,8 +1338,9 @@ void buffering_thread(void)
while (true)
{
- if (!filling)
+ if (!filling) {
cancel_cpu_boost();
+ }
queue_wait_w_tmo(&buffering_queue, &ev, filling ? 5 : HZ/2);