aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2019-04-01 00:06:35 +0300
committerShlomo Hecht <shlomo@twine-s.com>2019-04-01 00:06:35 +0300
commit67903ba41edc58090b41c782036acc1fd05548ea (patch)
treeb8a941e54f53ed6428b7ca1c652269bbf9151a5c /Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
parent84d06b05bb02a35bde4507832ad850ac3183dfe6 (diff)
downloadTango-67903ba41edc58090b41c782036acc1fd05548ea.tar.gz
Tango-67903ba41edc58090b41c782036acc1fd05548ea.zip
small improbvements in job handling and job end. preparations for log distributors setup
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 c311e9787..d57d3b14b 100644
--- a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
+++ b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
@@ -86,7 +86,7 @@ uint32_t FileUploadRequestFunc(MessageContainer* requestContainer)
Fresult = FR_DENIED;
else
{
- Fresult = f_open(UploadFileHandle,request->path,FA_READ | FA_WRITE | FA_OPEN_ALWAYS );
+ Fresult = f_open(UploadFileHandle,request->path,FA_READ | FA_WRITE |FA_OPEN_ALWAYS| FA_CREATE_ALWAYS);
if (Fresult == FR_OK)
{
FileLength = request->length;