diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2020-11-02 20:13:27 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2020-11-02 20:13:27 +0200 |
| commit | 2a8d3d38bd80fe011f8e6921742574b2ff71fa72 (patch) | |
| tree | c1d2dd4c52d0e255039ed561363741df875155e7 /Software/Embedded_SW/Embedded/Communication/CommunicationTask.c | |
| parent | f0905c07b9b5bc33aa9bad914ca799cf1e8a920c (diff) | |
| download | Tango-2a8d3d38bd80fe011f8e6921742574b2ff71fa72.tar.gz Tango-2a8d3d38bd80fe011f8e6921742574b2ff71fa72.zip | |
warning removed!
Diffstat (limited to 'Software/Embedded_SW/Embedded/Communication/CommunicationTask.c')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Communication/CommunicationTask.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Embedded_SW/Embedded/Communication/CommunicationTask.c b/Software/Embedded_SW/Embedded/Communication/CommunicationTask.c index aa514d17a..997175a5d 100644 --- a/Software/Embedded_SW/Embedded/Communication/CommunicationTask.c +++ b/Software/Embedded_SW/Embedded/Communication/CommunicationTask.c @@ -54,7 +54,7 @@ uint32_t initArray(size_t initialSize) if (SerialBufferUsed[10] == false) { SerialBufferUsed[10] = true; - inBuffer[10].buffer = CommRxBuffer; + inBuffer[10].buffer = (char *)&CommRxBuffer[0]; inBuffer[10].used = 0; inBuffer[10].size = initialSize; //Report("initArray", __FILE__, 10, inBuffer[10].size, RpWarning, (int)0, 0); @@ -63,7 +63,7 @@ uint32_t initArray(size_t initialSize) else if (SerialBufferUsed[11] == false) { SerialBufferUsed[11] = true; - inBuffer[11].buffer = CommRxBuffer; + inBuffer[11].buffer = (char *)&CommRxBuffer[1]; inBuffer[11].used = 0; inBuffer[11].size = initialSize; //Report("initArray", __FILE__, 10, inBuffer[10].size, RpWarning, (int)0, 0); |
