fix: OsTraceInit参数错误修正
【背景】 los_init.c 中存在 OsTraceInit()参数不正确的 错误 【修改方案】 修改OsTraceInit()参数错误的地方, 并包含了相应的头文件 【影响】 对现有的产品编译不会有影响。 re #I5H4UT Signed-off-by: yinjiaming <yinjiaming@huawei.com> Change-Id: I112067819d1850003ba0b36bd344b4ab9a8878d5
This commit is contained in:
parent
2931dc6013
commit
6affe19d5a
|
@ -91,6 +91,10 @@
|
|||
#include "vfs_operations.h"
|
||||
#endif
|
||||
|
||||
#if (LOSCFG_KERNEL_TRACE == 1)
|
||||
#include "los_trace_pri.h"
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
Function : LOS_Reboot
|
||||
Description : system exception, die in here, wait for watchdog.
|
||||
|
@ -241,7 +245,7 @@ LITE_OS_SEC_TEXT_INIT UINT32 LOS_KernelInit(VOID)
|
|||
}
|
||||
|
||||
#if (LOSCFG_KERNEL_TRACE == 1)
|
||||
ret = OsTraceInit(LOSCFG_TRACE_BUFFER_SIZE);
|
||||
ret = OsTraceInit();
|
||||
if (ret != LOS_OK) {
|
||||
PRINT_ERR("OsTraceInit error\n");
|
||||
return ret;
|
||||
|
|
Loading…
Reference in New Issue