aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-11-03 18:30:50 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-11-03 18:30:50 +0200
commit6db93c4c48052e8331071b138a60c01352511a78 (patch)
treef9088df535b589450656c2a9d36e153413fdbebb /Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
parentffa02c4e2516383d45a47f704a6c5054f777ec90 (diff)
parent824a4dba856dd575ed076d8e707ef59b39940932 (diff)
downloadTango-6db93c4c48052e8331071b138a60c01352511a78.tar.gz
Tango-6db93c4c48052e8331071b138a60c01352511a78.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
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, 1 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
index b59194af6..76c2fe9f2 100644
--- a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
+++ b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
@@ -726,7 +726,7 @@ uint32_t GetFilesRequestFunc(MessageContainer* requestContainer)
usnprintf(&FullPath[i], 50, "%s%s", request->path, fno[i]->fname);
else
usnprintf(&FullPath[i], 50, "%s%s%s", request->path,"/", fno[i]->fname);
- Data[i].fullpath = &FullPath[i];
+ Data[i].fullpath = &FullPath[i][0];
}
response.n_items = NumOfFiles;