From 44cdce9b290d4ae9e1a436ef85c5b0ed56827784 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Fri, 10 Dec 2010 15:14:11 +0000 Subject: 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 --- apps/voice_thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') 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 */ -- cgit v1.2.3