From ed00708ac4b4117e9d4f83602ef3bee94951d09c Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Mon, 7 Nov 2005 20:09:08 +0000 Subject: [PATCH] Adjusted MAX_THREADS to be 2 more than the number of standard threads on all platforms. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7776 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/thread.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/firmware/export/thread.h b/firmware/export/thread.h index f6795062d4..fe1612d2f4 100644 --- a/firmware/export/thread.h +++ b/firmware/export/thread.h @@ -21,7 +21,12 @@ #include +#if CONFIG_CODEC == SWCODEC #define MAXTHREADS 14 +#else +#define MAXTHREADS 9 +#endif + #define DEFAULT_STACK_SIZE 0x400 /* Bytes */ int create_thread(void (*function)(void), void* stack, int stack_size,