aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Communication
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-10-27 12:04:23 +0200
committerShlomo Hecht <shlomo@twine-s.com>2020-10-27 12:04:23 +0200
commit2d36ca07a6b43cf997aea3a987ed97cd3afcb655 (patch)
tree66967c02359b13965cbb5dda303d54566cbde65d /Software/Embedded_SW/Embedded/Communication
parentc1dbc0def7c7401432195461df5eb4face4025ba (diff)
downloadTango-2d36ca07a6b43cf997aea3a987ed97cd3afcb655.tar.gz
Tango-2d36ca07a6b43cf997aea3a987ed97cd3afcb655.zip
fix flash writing (parameters. now causes reset!), improve logs saving on errfile.txt, prevent motor alarms after hw configuration
Diffstat (limited to 'Software/Embedded_SW/Embedded/Communication')
-rw-r--r--Software/Embedded_SW/Embedded/Communication/Connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Embedded_SW/Embedded/Communication/Connection.c b/Software/Embedded_SW/Embedded/Communication/Connection.c
index 0e90e5dbf..b566aa0e0 100644
--- a/Software/Embedded_SW/Embedded/Communication/Connection.c
+++ b/Software/Embedded_SW/Embedded/Communication/Connection.c
@@ -186,8 +186,8 @@ void KeepAliveRequest1Second(void)
KARequestId++;
//Report("keepalive request sent",__FILE__,__LINE__,KARequestId,RpWarning,msec_millisecondCounter, 0);
- if (keepalivetest == false)
- KeepAliveOneSecondCounter = 0;
+ //if (keepalivetest == false)
+ // KeepAliveOneSecondCounter = 0;
//KeepAliveActive = true;
responseContainer = createContainer(MESSAGE_TYPE__KeepAliveRequest, KARequestToken, true, &request, &keep_alive_request__pack, &keep_alive_request__get_packed_size);
//-------------------------------------------------------------------------------------------