aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Communication
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2019-04-11 11:25:01 +0300
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2019-04-11 11:25:01 +0300
commit50672cf57739bac3c0ddefcd40563d0fbed3db80 (patch)
treec6d5bbedc8210c6004ee49db416457ccd488d983 /Software/Embedded_SW/Embedded/Communication
parent64aeeb1d2784569e4ebf7c72c660458cf4432eee (diff)
parentd5553e30f41ba83cf4a5d9366114a64136fcb504 (diff)
downloadTango-50672cf57739bac3c0ddefcd40563d0fbed3db80.tar.gz
Tango-50672cf57739bac3c0ddefcd40563d0fbed3db80.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Embedded_SW/Embedded/Communication')
-rw-r--r--Software/Embedded_SW/Embedded/Communication/Container.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Software/Embedded_SW/Embedded/Communication/Container.c b/Software/Embedded_SW/Embedded/Communication/Container.c
index b0c063a5e..70f910efb 100644
--- a/Software/Embedded_SW/Embedded/Communication/Container.c
+++ b/Software/Embedded_SW/Embedded/Communication/Container.c
@@ -132,14 +132,15 @@ void receive_callback(char* buffer, size_t length)
return;
// HeatingTestSendResonse(0, false,true,true, /*OriginalMotorSpd_2PPS[index]*/length,requestContainer->type,0,0, "Container");
if (requestContainer->type != MESSAGE_TYPE__KeepAliveRequest) //user action resets the idle counter
+ {
resetIdleCounter();
-
+ REPORT_MSG(requestContainer->type,"Message received");
+ }
msgId[index] = requestContainer->type;
Length[index] = length;
DataLength[index] = requestContainer->data.len;
if (index++>=MAX_CONT_LOG)
index = 0;
- //REPORT_MSG(requestContainer->type,"Message received");
switch(requestContainer->type)
{
case MESSAGE_TYPE__CalculateRequest: