summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-12-10 15:14:11 +0000
committerThomas Martitz <kugel@rockbox.org>2010-12-10 15:14:11 +0000
commit44cdce9b290d4ae9e1a436ef85c5b0ed56827784 (patch)
tree17f02742d55d5c7734b59c3e090d990a4424d206
parent18accc018bc58b04d994e25a791702e88ef222e6 (diff)
downloadrockbox-44cdce9b290d4ae9e1a436ef85c5b0ed56827784.tar.gz
rockbox-44cdce9b290d4ae9e1a436ef85c5b0ed56827784.zip
Base voice thread stack size on DEFAULT_STACK_SIZE, it's otherwise likely to overflow on app targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28783 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/voice_thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/voice_thread.c b/apps/voice_thread.c
index 05e2017b0b..6683fcc067 100644
--- a/apps/voice_thread.c
+++ b/apps/voice_thread.c
@@ -59,7 +59,7 @@
59 59
60/* Voice thread variables */ 60/* Voice thread variables */
61static unsigned int voice_thread_id = 0; 61static unsigned int voice_thread_id = 0;
62static long voice_stack[0x7c0/sizeof(long)] IBSS_ATTR_VOICE_STACK; 62static long voice_stack[(DEFAULT_STACK_SIZE + 0x3C0)/sizeof(long)] IBSS_ATTR_VOICE_STACK;
63static const char voice_thread_name[] = "voice"; 63static const char voice_thread_name[] = "voice";
64 64
65/* Voice thread synchronization objects */ 65/* Voice thread synchronization objects */