diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-10-28 13:55:52 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-10-28 13:55:52 +0200 |
| commit | 521326ce426ed0cd5b8d92b280cdf0c7213e7b50 (patch) | |
| tree | 3c3f8e7f1490a6d848ed307ee108c04fad80fa0a /Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c | |
| parent | a43d087e6d77333cd6f40642acb731519697998e (diff) | |
| parent | abc09fbcd0a9c0883b957378d71679be776b6f56 (diff) | |
| download | Tango-521326ce426ed0cd5b8d92b280cdf0c7213e7b50.tar.gz Tango-521326ce426ed0cd5b8d92b280cdf0c7213e7b50.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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c index caad43712..018e83ce0 100644 --- a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c +++ b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c @@ -53,7 +53,7 @@ FIL *UploadFileHandle = 0; //the system supports a single active file FIL *DownloadFileHandle = 0; //the system supports a single active file char FileHandleChar[5]; char ErrorMsg[100]; -#define MAX_CHUNK_LENGTH 5500 +#define MAX_CHUNK_LENGTH 3500 int32_t FileLength = 0; int32_t FileReceivedLength = 0; int32_t FileSentLength = 0; @@ -167,7 +167,7 @@ uint32_t FileChunkUploadRequestFunc(MessageContainer* requestContainer) lFresult = Fresult; if(Fresult != FR_OK) { - LOG_ERROR (Fresult,"f_write error"); + Report("f_write error",__FILE__,Fresult,FileReceivedLength,RpWarning,request->buffer.len,0); FileDone = true; } else |
