fix the bug in the storage space of the task name

This commit is contained in:
mculover666
2021-04-01 15:43:22 +08:00
parent c68b862080
commit 97fca5e4ed
4 changed files with 22 additions and 21 deletions

View File

@@ -20,7 +20,8 @@
__CDECLS_BEGIN
#define K_TASK_NAME_MAX (16u)
#define K_TASK_NAME_LEN_MAX (15u)
#define K_TASK_NAME_MAX (K_TASK_NAME_LEN_MAX + 1)
#define K_TASK_STK_SIZE_MIN (sizeof(cpu_context_t))
// task state is just a flag, indicating which manager list we are in.