summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2013-05-31 05:17:11 -0400
committerMichael Sevakis <jethead71@rockbox.org>2013-05-31 05:17:11 -0400
commit92f1ecfc7b3a301b0828ea0306e8a61852dcc9eb (patch)
tree06713bf975ab790e6f071d1f779a269c60eb49b2
parent344b9d09860af193a0a297438432339f4108c574 (diff)
downloadrockbox-92f1ecf.tar.gz
rockbox-92f1ecf.tar.bz2
rockbox-92f1ecf.zip
Just init audio thread event with Q_NULL instead of SYS_TIMEOUT.
What was I thinking? Anyway, it's a little nicer and it's reserved so shouldn't end up as a case value anywhere. Change-Id: If745c24951518608e3f4fc51f7419ef07d7cf2ac
-rw-r--r--apps/audio_thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/audio_thread.c b/apps/audio_thread.c
index 56f3853c6c..397d8b0946 100644
--- a/apps/audio_thread.c
+++ b/apps/audio_thread.c
@@ -65,7 +65,7 @@ unsigned int audio_thread_id = 0;
static void NORETURN_ATTR audio_thread(void)
{
struct queue_event ev;
- ev.id = SYS_TIMEOUT; /* something not in switch below */
+ ev.id = Q_NULL; /* something not in switch below */
pcm_postinit();