diff options
| -rw-r--r-- | firmware/export/thread.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/thread.h b/firmware/export/thread.h index f679506..fe1612d 100644 --- a/firmware/export/thread.h +++ b/firmware/export/thread.h @@ -21,7 +21,12 @@ #include <stdbool.h> +#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, |