aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Common
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-10-29 16:34:18 +0200
committerShlomo Hecht <shlomo@twine-s.com>2020-10-29 16:34:18 +0200
commit730cc748ef2e65b682a31fc8864652b99b29ded9 (patch)
tree289a9bdd76ef267055e28bc9d2b90a75191b219c /Software/Embedded_SW/Embedded/Common
parent227e1f5959eaae9c3bacfed34aa91c5dd6d5a46a (diff)
downloadTango-730cc748ef2e65b682a31fc8864652b99b29ded9.tar.gz
Tango-730cc748ef2e65b682a31fc8864652b99b29ded9.zip
Version 1.5.1(1)
Diffstat (limited to 'Software/Embedded_SW/Embedded/Common')
-rw-r--r--Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c2
-rw-r--r--Software/Embedded_SW/Embedded/Common/report/reportInit.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
index 10f33c62b..b59194af6 100644
--- a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
+++ b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
@@ -50,7 +50,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 4096
int32_t FileLength = 0;
int32_t FileReceivedLength = 0;
int32_t FileSentLength = 0;
diff --git a/Software/Embedded_SW/Embedded/Common/report/reportInit.c b/Software/Embedded_SW/Embedded/Common/report/reportInit.c
index 2778943f3..18ad17bee 100644
--- a/Software/Embedded_SW/Embedded/Common/report/reportInit.c
+++ b/Software/Embedded_SW/Embedded/Common/report/reportInit.c
@@ -334,6 +334,7 @@ uint32_t ReportInitMessage(MessageContainer* requestContainer)
StartDebugLogRequest* request = start_debug_log_request__unpack(NULL, requestContainer->data.len, requestContainer->data.data);
Report("==============Saving file=================", __FILE__, __LINE__, _gTangoVersion.m_patch, RpWarning, _gTangoVersion.m_build, 0);
+ Task_sleep (100);
ustrncpy (protobufToken, requestContainer->token,36);
if (LogFileHandle != NULL)
f_sync(LogFileHandle);