aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-05-27 10:33:12 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-05-27 10:33:12 +0300
commit18cfb42f3c2137c36d21a82b4209ba4c9e01f863 (patch)
tree080f3a732ddc72874b940be2b16d637a43bef501 /Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
parent3941475bb5a93b271ece22aadd8936f66758173a (diff)
downloadTango-18cfb42f3c2137c36d21a82b4209ba4c9e01f863.tar.gz
Tango-18cfb42f3c2137c36d21a82b4209ba4c9e01f863.zip
MERGE
Diffstat (limited to 'Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c')
-rw-r--r--Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c3
1 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 68745b390..68500ac88 100644
--- a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
+++ b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
@@ -154,7 +154,8 @@ uint32_t FileChunkUploadRequestFunc(MessageContainer* requestContainer)
// memcpy (&ReceivedFileHandle,request->uploadid,sizeof(ReceivedFileHandle));
//if (ReceivedFileHandle == FileHandle)
//{
- KeepAliveOneSecondCounter = 0;
+ Control_WD(ENABLE,10); //activate heaters/dispenser watchdog, 0.5 seconds
+ KeepAliveOneSecondCounter = 0;
Fresult = f_write(ReceivedFileHandle,request->buffer.data,request->buffer.len,&WrittenBytes );
lFresult = Fresult;
if(Fresult != FR_OK)