aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-08-08 15:51:50 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-08-08 15:51:50 +0300
commit93573c53b155e2c07b6f41a53f93c38c774cbade (patch)
treecfaee9b106a84b10c626f2a4cdf967c93810853c /Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
parentf0cf4833650e087b7c2fd776820d4e917af020ce (diff)
parentc7afd7e05b3230a4c652d74effd813b858da8ee3 (diff)
downloadTango-93573c53b155e2c07b6f41a53f93c38c774cbade.tar.gz
Tango-93573c53b155e2c07b6f41a53f93c38c774cbade.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/_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, 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 5cbc92285..48e29e54c 100644
--- a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
+++ b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
@@ -600,7 +600,9 @@ uint32_t GetFilesRequestFunc(MessageContainer* requestContainer)
Data[i].name = fno[i]->fname;
Data[i].has_length = true;
Data[i].length = fno[i]->fsize;
+ Data[i].has_lastmodifieddate = true;
Data[i].lastmodifieddate = fno[i]->fdate;
+ Data[i].has_lastmodifiedtime = true;
Data[i].lastmodifiedtime = fno[i]->ftime;
if (i==0)
usnprintf(&FullPath[i], 50, "%s", request->path);