diff options
| author | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2020-03-01 14:12:01 +0200 |
|---|---|---|
| committer | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2020-03-01 14:12:01 +0200 |
| commit | 4c8c314504a2280a1ee4c48c0eb6132504dde886 (patch) | |
| tree | 56173d3e9b6bd1264746255580db15ba94087670 /Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c | |
| parent | 07cc6f6c59a1965f21ef92e6c2b4b3077199a364 (diff) | |
| parent | 878263a04f7851c3cfe89f474349dfdf90553da1 (diff) | |
| download | Tango-4c8c314504a2280a1ee4c48c0eb6132504dde886.tar.gz Tango-4c8c314504a2280a1ee4c48c0eb6132504dde886.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.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 1ba656657..3b5ba176d 100644 --- a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c +++ b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c @@ -717,7 +717,7 @@ FRESULT FileWrite(void * buffer, uint16_t size,char *path, uint32_t timeout) return FR_TIMEOUT; } - Fresult = f_open(FileHandle,path,FA_WRITE | FA_OPEN_ALWAYS); + Fresult = f_open(FileHandle,path,FA_WRITE | FA_OPEN_ALWAYS|FA_CREATE_ALWAYS); if (Fresult == FR_OK) { Fresult = f_write(FileHandle,buffer,size,&Bytes ); |
