aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2019-07-09 16:52:02 +0300
committerShlomo Hecht <shlomo@twine-s.com>2019-07-09 16:52:02 +0300
commite4eaedb7bcca2276a17bda687d7773dc1540346d (patch)
tree10b63964c75e8a628e3a72138aa36ff1077e6963 /Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
parent5cf2e060dcb21338d838e103951762b3e7eb4702 (diff)
downloadTango-e4eaedb7bcca2276a17bda687d7773dc1540346d.tar.gz
Tango-e4eaedb7bcca2276a17bda687d7773dc1540346d.zip
improve flash handling
Diffstat (limited to 'Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c')
-rw-r--r--Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
index c424320ff..8682f706a 100644
--- a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
+++ b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
@@ -284,7 +284,7 @@ uint32_t FileChunkDownloadRequestFunc(MessageContainer* requestContainer)
FIL *SentFileHandle; //the system supports a single active file
SentFileHandle = DownloadFileHandle;
- char *Buffer = 0;
+ uint8_t *Buffer = 0;
Buffer = my_malloc (MAX_CHUNK_LENGTH);
if (Buffer != NULL)
{