diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2020-01-13 18:02:20 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2020-01-13 18:02:20 +0200 |
| commit | 18a3cf5d3cdec6142ee41f5beff5f63e6c68285c (patch) | |
| tree | 4ae27f913abfd02cb6779f3b0388d1ee719e3ee7 /Software/Embedded_SW/Embedded/Communication/CommunicationTask.c | |
| parent | c3c4c18e1c6e834b734243f968fca0555e901753 (diff) | |
| download | Tango-18a3cf5d3cdec6142ee41f5beff5f63e6c68285c.tar.gz Tango-18a3cf5d3cdec6142ee41f5beff5f63e6c68285c.zip | |
Version 1.4.6.3 fix power down reports, enable feeder as speed master, prepare keepalive testing for reconnection
Diffstat (limited to 'Software/Embedded_SW/Embedded/Communication/CommunicationTask.c')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Communication/CommunicationTask.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Software/Embedded_SW/Embedded/Communication/CommunicationTask.c b/Software/Embedded_SW/Embedded/Communication/CommunicationTask.c index f0258c8da..56ceccd28 100644 --- a/Software/Embedded_SW/Embedded/Communication/CommunicationTask.c +++ b/Software/Embedded_SW/Embedded/Communication/CommunicationTask.c @@ -224,12 +224,12 @@ int32_t SetCommunicationPath(bool UARTorUSB) CommType = UARTorUSB; return OK; } -#define MAX_CONT_LOG 199 +/*#define MAX_CONT_LOG 199 uint16_t cSendSize[MAX_CONT_LOG+1] = {0}; uint32_t cSendTime[MAX_CONT_LOG+1] = {0}; uint16_t cSendindex = 0; - +*/ /****************************************************************************** * ======== communicationTask ======== * Task for this function is created statically. See the project's .cfg file. @@ -258,12 +258,12 @@ void communicationTxTask(UArg arg0, UArg arg1) else if (CommType == isUART) Uart_Tx(CommTxMessage.Buff, CommTxMessage.msgSize); } - cSendSize[cSendindex] = CommTxMessage.msgSize; +/* cSendSize[cSendindex] = CommTxMessage.msgSize; cSendTime[cSendindex] = msec_millisecondCounter; if (cSendindex++>=MAX_CONT_LOG) cSendindex = 0; - +*/ if (diagnosticscontainer_buffer == CommTxMessage.Buff) diagnosticscontainer_buffer = 0; my_free(CommTxMessage.Buff); |
