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:
parent
998f1c57e2
commit
8eaa685e1b
1 changed files with 3 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue