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:
a9ff206
)
优化死机文件内存管理
1319/target/2
1320/1
1320/head
1321/target/2
1322/target/1
1323/target/1
author
penglei
<1624952103@qq.com>
Sat, 2 Nov 2024 09:07:56 +0000
(17:07 +0800)
committer
penglei
<1624952103@qq.com>
Sat, 2 Nov 2024 09:07:56 +0000
(17:07 +0800)
code/sdk/drivers/peripheral/utils/custom_utils.c
patch
|
blob
|
history
diff --git
a/code/sdk/drivers/peripheral/utils/custom_utils.c
b/code/sdk/drivers/peripheral/utils/custom_utils.c
index
1efaacc
..
0b57926
100644
(file)
--- a/
code/sdk/drivers/peripheral/utils/custom_utils.c
+++ b/
code/sdk/drivers/peripheral/utils/custom_utils.c
@@
-1911,7
+1911,8
@@
void uapi_check_tar_file_count(char *folderpath)
DIR *dir;
struct dirent *entry;
uint8_t count = 0;
- uint32_t old_tm,new_tm;
+ uint32_t old_tm = 0;
+ uint32_t new_tm = 0;;
char old_tm_str[11] = {0};
char new_tm_str[11] = {0};
char old_file_name[64] = {0};