diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2019-05-12 09:00:14 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2019-05-12 09:00:14 +0300 |
| commit | df6b48edee60137b1ed06586ffdaf47ea47cb4aa (patch) | |
| tree | 07692579e3dad379a771c4037dc86546c84bf3e6 /Software/Embedded_SW/Embedded/Common | |
| parent | 39bb4d802486e86cf534a18e781b267b048c293f (diff) | |
| download | Tango-df6b48edee60137b1ed06586ffdaf47ea47cb4aa.tar.gz Tango-df6b48edee60137b1ed06586ffdaf47ea47cb4aa.zip | |
file system log
Diffstat (limited to 'Software/Embedded_SW/Embedded/Common')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c index 4acfe8d4c..4850ddbde 100644 --- a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c +++ b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c @@ -98,6 +98,8 @@ uint32_t FileUploadRequestFunc(MessageContainer* requestContainer) if (Fresult == FR_OK) { FileLength = request->length; + FileReceivedLength = 0; + REPORT_MSG (FileLength,"file upload request"); response.has_maxchunklength = true; response.maxchunklength = MAX_CHUNK_LENGTH; strcpy(FileHandleChar, "1234"); @@ -159,6 +161,7 @@ uint32_t FileChunkUploadRequestFunc(MessageContainer* requestContainer) else { FileReceivedLength += WrittenBytes; + //REPORT_MSG (FileReceivedLength,"file upload chunk"); if (FileReceivedLength == FileLength) { REPORT_MSG (FileReceivedLength,"file upload ended successfully"); |
