소스 검색

恢复使用TASK_MSG_THREAD_STACK_SIZE

slyant 5 년 전
부모
커밋
ed4d0952d3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/task_msg_bus.c

+ 1 - 1
src/task_msg_bus.c

@@ -862,7 +862,7 @@ int task_msg_bus_init(void)
     task_msg_bus_init_tag = RT_TRUE;
 
     rt_thread_t t = rt_thread_create("msg_bus", task_msg_bus_thread_entry,
-    RT_NULL, 512, TASK_MSG_THREAD_PRIORITY, 20);
+    RT_NULL, TASK_MSG_THREAD_STACK_SIZE, TASK_MSG_THREAD_PRIORITY, 20);
     if (t == RT_NULL)
     {
         LOG_E("task msg bus initialize failed! msg_bus_thread create failed!");