Fix an errant #if effecting targets with MEM <= 8

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11677 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Mark Arigo 2006-12-06 16:21:04 +00:00
parent 998f1c57e2
commit 8eaa685e1b

View file

@ -3556,17 +3556,16 @@ static void audio_thread(void)
if (ev.id == SYS_TIMEOUT)
ev.id = Q_AUDIO_FILL_BUFFER;
}
#if MEM > 8
else
{
queue_wait_w_tmo(&audio_queue, &ev, HZ/2);
#if MEM > 8
if (playing && (ev.id == SYS_TIMEOUT) &&
(FILEBUFUSED < high_watermark))
register_ata_idle_func(ata_fillbuffer_callback);
}
#else
queue_wait_w_tmo(&audio_queue, &ev, HZ/2);
#endif
}
switch (ev.id) {
#if MEM > 8
case Q_AUDIO_FILL_BUFFER_IF_ACTIVE_ATA: