diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2019-04-02 10:33:40 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2019-04-02 10:33:40 +0300 |
| commit | 00580a4427db98910a5ea82a525656dc68c4e86f (patch) | |
| tree | 824fb13c2f1f7563ac4afa734427948c42fdc06a /Software/Embedded_SW/Embedded/Common/SWUpdate | |
| parent | c48ec6ebb242509044c2e24ed7518d536057bb3a (diff) | |
| parent | f53099c8fddc7374857d29ee5521c00d91ec6d70 (diff) | |
| download | Tango-00580a4427db98910a5ea82a525656dc68c4e86f.tar.gz Tango-00580a4427db98910a5ea82a525656dc68c4e86f.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Embedded_SW/Embedded/Common/SWUpdate')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c | 2 |
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; |
