aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-09-29 13:35:39 +0300
committerShlomo Hecht <shlomo@twine-s.com>2020-09-29 13:35:39 +0300
commit201b6783f2c04e3646fd030a1f224429d2824ec7 (patch)
tree82a35a0d0aba2434006ca3c517e6773d6fb0519d /Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
parenta8f7b16bdf8fe5ba07bea8b7867f89aff77bdfb7 (diff)
parente800a2be260470bc2756724e76097aba3a2527b4 (diff)
downloadTango-201b6783f2c04e3646fd030a1f224429d2824ec7.tar.gz
Tango-201b6783f2c04e3646fd030a1f224429d2824ec7.zip
merge
Diffstat (limited to 'Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c')
-rw-r--r--Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c4
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 90d2afc2c..72693f391 100644
--- a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
+++ b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
@@ -115,7 +115,7 @@ uint32_t FileUploadRequestFunc(MessageContainer* requestContainer)
if (sem_ok == true)
{
CommRxTaskHandle = Task_self();
- Task_setPri(CommRxTaskHandle, 2);
+ Task_setPri(CommRxTaskHandle, 4);
// Report("Task_setPri", __FILE__, __LINE__, 4, RpWarning, (int)CommRxTaskHandle, 0);
//Report("FileUploadRequestFunc 2", __FILE__, __LINE__, msec_millisecondCounter, RpWarning, (int)0, 0);
Fresult = f_open(UploadFileHandle,request->path,FA_READ | FA_WRITE | FA_OPEN_ALWAYS | FA_CREATE_ALWAYS);
@@ -284,7 +284,7 @@ void FileChunkUploadError(void)
{
REPORT_MSG (FileReceivedLength,"file upload too much data!");
f_close(UploadFileHandle);
- my_free (UploadFileHandle);
+ //my_free (UploadFileHandle); CAN NOT CALL FREE() FROM INTERRUPT
UploadFileHandle = 0;
FileReceivedLength = 0;
FileDone = true;