aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2019-02-04 13:26:39 +0200
committerAvi Levkovich <avi@twine-s.com>2019-02-04 13:26:39 +0200
commit3f5b0a7636c32582c67dbe965aaac7bf3ac2bdbd (patch)
tree913e3eca6f279ddfab2f3b5a05f890907d158b52 /Software/Embedded_SW
parent8a580dab7531cd60b14a2b05de80df07087ba870 (diff)
downloadTango-3f5b0a7636c32582c67dbe965aaac7bf3ac2bdbd.tar.gz
Tango-3f5b0a7636c32582c67dbe965aaac7bf3ac2bdbd.zip
FileSystem.c change the File Length to int32_t
Diffstat (limited to 'Software/Embedded_SW')
-rw-r--r--Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
index a12c02867..11fbf86c4 100644
--- a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
+++ b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
@@ -49,9 +49,9 @@ FIL *DownloadFileHandle = 0; //the system supports a single active file
char FileHandleChar[5];
char ErrorMsg[100];
#define MAX_CHUNK_LENGTH 2000
-int FileLength = 0;
-int FileReceivedLength = 0;
-int FileSentLength = 0;
+int32_t FileLength = 0;
+int32_t FileReceivedLength = 0;
+int32_t FileSentLength = 0;
static char g_cCwdBuf[50] = "/";
uint32_t WrittenBytes = 0;
uint32_t ReadBytes = 0;