projects
/
mirrors
/
FD230.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37dbf1b
)
修复写功耗文件死机问题
author
hcj
<1224667075@qq.com>
Fri, 20 Dec 2024 08:54:39 +0000
(16:54 +0800)
committer
hcj
<1224667075@qq.com>
Fri, 20 Dec 2024 08:54:39 +0000
(16:54 +0800)
code/sdk/drivers/peripheral/utils/custom_save_runtime.c
patch
|
blob
|
history
diff --git
a/code/sdk/drivers/peripheral/utils/custom_save_runtime.c
b/code/sdk/drivers/peripheral/utils/custom_save_runtime.c
index
094632a
..
89f5646
100644
(file)
--- a/
code/sdk/drivers/peripheral/utils/custom_save_runtime.c
+++ b/
code/sdk/drivers/peripheral/utils/custom_save_runtime.c
@@
-167,6
+167,7
@@
static void custom_save_runtime_log_service_task(void const *arg)
create_runtime_log_path(save_path,128,file_count);
}
+ fclose(fp);
}
else
{
@@
-175,7
+176,7
@@
static void custom_save_runtime_log_service_task(void const *arg)
create_runtime_log_path(save_path,128,file_count);
}
- fclose(fp);
+
}
}