fix(线程id判断有误,cmsis优先级创建修改): 线程id判断有误,cmsis优先级创建修改

线程id判断有误,cmsis优先级创建修改

Signed-off-by: LiteOS2021 <dinglu@huawei.com>
This commit is contained in:
LiteOS2021
2022-03-18 11:16:43 +08:00
parent a42ba7aed6
commit 83b6331aad
2 changed files with 2 additions and 2 deletions

View File

@@ -66,7 +66,7 @@ LITE_TEST_CASE(CmsisFuncTestSuite, TestCmsis001, Function | MediumTest | Level1)
attr.stack_mem = stackAddr;
attr.stack_size = OS_TSK_TEST_STACK_SIZE;
attr.priority = osPriorityNormal;
attr.priority = osPriorityNormal + 1;
attr.attr_bits = osThreadDetached;
threadId = osThreadNew((osThreadFunc_t)CmsisStackFunc01, NULL, &attr);
ICUNIT_GOTO_NOT_EQUAL(threadId, 0, threadId, EXIT);