aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2018-11-25 18:40:56 +0200
committerShlomo Hecht <shlomo@twine-s.com>2018-11-25 18:40:56 +0200
commit80ed2914882d82dce0f60c09185da6a500f78d8b (patch)
tree51bbf91dda54f3df61656beeaf2042e64cf11f85 /Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
parent15721dfb1e5f145064ed7b5ff7bb29953ed4c130 (diff)
downloadTango-80ed2914882d82dce0f60c09185da6a500f78d8b.tar.gz
Tango-80ed2914882d82dce0f60c09185da6a500f78d8b.zip
pressure alarm 1 second
Diffstat (limited to 'Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c')
-rw-r--r--Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
index 78fba3c49..e8178c0fd 100644
--- a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
+++ b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
@@ -399,8 +399,10 @@ uint32_t GetFilesRequestFunc(MessageContainer* requestContainer)
FileInfo **FilesInfo = (FileInfo**)my_malloc(sizeof(FileInfo *)*(MAX_NUM_OF_FILES));
FileInfo Data[MAX_NUM_OF_FILES];
+ memset(fno,0,sizeof(fno));
fno[0] = my_malloc(sizeof(FILINFO));
memset (fno[0],0,sizeof(FILINFO));
+
Fresult = f_stat(request->path,fno[0]);
if (Fresult == FR_OK)
{