diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-12-10 15:14:11 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-12-10 15:14:11 +0000 |
commit | 44cdce9b290d4ae9e1a436ef85c5b0ed56827784 (patch) | |
tree | 17f02742d55d5c7734b59c3e090d990a4424d206 | |
parent | 18accc018bc58b04d994e25a791702e88ef222e6 (diff) |
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.c | 2 |
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 @@ /* Voice thread variables */ static unsigned int voice_thread_id = 0; -static long voice_stack[0x7c0/sizeof(long)] IBSS_ATTR_VOICE_STACK; +static long voice_stack[(DEFAULT_STACK_SIZE + 0x3C0)/sizeof(long)] IBSS_ATTR_VOICE_STACK; static const char voice_thread_name[] = "voice"; /* Voice thread synchronization objects */ |