summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2010-07-01 00:46:15 +0000
committerMichael Sevakis <jethead71@rockbox.org>2010-07-01 00:46:15 +0000
commit2cfa7ba7460f882d5bf2fe8f904fae5e572fecf3 (patch)
treeedec7efea274774b9573149700302b6b69a713b9
parentcf73340f1e85d3b39dc452d57e28d2a9a9081051 (diff)
downloadrockbox-2cfa7ba7460f882d5bf2fe8f904fae5e572fecf3.tar.gz
rockbox-2cfa7ba7460f882d5bf2fe8f904fae5e572fecf3.tar.bz2
rockbox-2cfa7ba7460f882d5bf2fe8f904fae5e572fecf3.zip
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
-rw-r--r--apps/plugins/pacbox/pacbox.c5
1 files changed, 5 insertions, 0 deletions
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