From 2cfa7ba7460f882d5bf2fe8f904fae5e572fecf3 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Thu, 1 Jul 2010 00:46:15 +0000 Subject: Fix r27202 red. MCF5249 plugin IRAM is already very occupied. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27203 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/pacbox/pacbox.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/plugins/pacbox') diff --git a/apps/plugins/pacbox/pacbox.c b/apps/plugins/pacbox/pacbox.c index 9bbc00d094..8d44857666 100644 --- a/apps/plugins/pacbox/pacbox.c +++ b/apps/plugins/pacbox/pacbox.c @@ -279,7 +279,12 @@ static bool pacbox_menu(void) /* Sound is emulated in ISR context, so not much is done per sound frame */ #define NBSAMPLES 128 static uint32_t sound_buf[NBSAMPLES]; +#if CONFIG_CPU == MCF5249 +/* Not enough to put this in IRAM */ +static int raw_buf[NBSAMPLES]; +#else static int raw_buf[NBSAMPLES] IBSS_ATTR; +#endif /* Audio callback -- cgit v1.2.3