diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2020-02-03 10:32:23 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2020-02-03 10:32:23 +0200 |
| commit | ca927bad3d0336040eb826307f20165631d2580c (patch) | |
| tree | 395096cbe7d207456dd72b2661e012c0257fd4a9 /Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c | |
| parent | 0967770a1bc3bb2d543c09de5e8e0e734aca353f (diff) | |
| download | Tango-ca927bad3d0336040eb826307f20165631d2580c.tar.gz Tango-ca927bad3d0336040eb826307f20165631d2580c.zip | |
some changes in new WHS
Diffstat (limited to 'Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c index 89039d2a6..8aabafd2e 100644 --- a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c +++ b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c @@ -106,10 +106,11 @@ uint32_t FileUploadRequestFunc(MessageContainer* requestContainer) Fresult = f_open(UploadFileHandle,request->path,FA_READ | FA_WRITE | FA_OPEN_ALWAYS | FA_CREATE_ALWAYS); if (Fresult == FR_OK) { - //Report("FileUploadRequestFunc 3", __FILE__, __LINE__, msec_millisecondCounter, RpWarning, (int)0, 0); + usnprintf(ErrorMsg, 100, "file upload request %s %d",request->path,request->length); + + Report(ErrorMsg, __FILE__, __LINE__, request->length, RpWarning, (int)MAX_CHUNK_LENGTH, 0); FileLength = request->length; FileReceivedLength = 0; - REPORT_MSG (FileLength,"file upload request"); response.has_maxchunklength = true; response.maxchunklength = MAX_CHUNK_LENGTH; strcpy(FileHandleChar, "1234"); |
