From 3df4879fafbcac567e17a560e727935102f296cd Mon Sep 17 00:00:00 2001 From: Shlomo Hecht Date: Wed, 10 Apr 2019 14:37:51 +0300 Subject: fix first dispenser not moving bug --- Software/Embedded_SW/Embedded/Communication/Container.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Software/Embedded_SW/Embedded/Communication') 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: -- cgit v1.3.1