From 14e8e020ca2429736e522e1c843aabe6282c725b Mon Sep 17 00:00:00 2001 From: payton Date: Wed, 20 Dec 2023 09:55:01 +0800 Subject: [PATCH] =?UTF-8?q?1.log=E8=AE=B0=E5=BD=95=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/application/source/cardv/SrcCode/System/SysStrg_Exe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/application/source/cardv/SrcCode/System/SysStrg_Exe.c b/code/application/source/cardv/SrcCode/System/SysStrg_Exe.c index 5d21b03ee..fe4a9b0f2 100644 --- a/code/application/source/cardv/SrcCode/System/SysStrg_Exe.c +++ b/code/application/source/cardv/SrcCode/System/SysStrg_Exe.c @@ -424,6 +424,7 @@ void System_OnStrgInit_FS(void) cfg.LogBuffSize2 = gLogFile_Buff2_Size; #endif LogFile_Config(&cfg); + DBG_DUMP("LogFile_Config ...\n"); } #endif @@ -1064,7 +1065,7 @@ INT32 System_OnStrgAttach(VControl *pCtrl, UINT32 paramNum, UINT32 *paramArray) logOpenParm.maxFileNum = maxFileNum; logOpenParm.maxFileSize = maxFileSize; - logOpenParm.isPreAllocAllFiles = TRUE; + logOpenParm.isPreAllocAllFiles = FALSE; #if defined(__FREERTOS) logOpenParm.isSaveLastTimeSysErrLog = wdt_getResetNum()>0 ? TRUE : FALSE; #else //defined(__LINUX_USER__)