diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2019-07-09 16:52:02 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2019-07-09 16:52:02 +0300 |
| commit | e4eaedb7bcca2276a17bda687d7773dc1540346d (patch) | |
| tree | 10b63964c75e8a628e3a72138aa36ff1077e6963 /Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c | |
| parent | 5cf2e060dcb21338d838e103951762b3e7eb4702 (diff) | |
| download | Tango-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.c | 2 |
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) { |
