aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Communication
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2019-05-07 15:41:35 +0300
committerShlomo Hecht <shlomo@twine-s.com>2019-05-07 15:41:35 +0300
commit0c8db6ee26b30ebeb6e8e7785de4da9caa6a0970 (patch)
tree98126ec887e8e957c46bd0156c4aaa843f3b82d2 /Software/Embedded_SW/Embedded/Communication
parenta895c48616d94c8be0ef33f0ce58d9457d5dfd1b (diff)
downloadTango-0c8db6ee26b30ebeb6e8e7785de4da9caa6a0970.tar.gz
Tango-0c8db6ee26b30ebeb6e8e7785de4da9caa6a0970.zip
Version 1.3.9.8 Removed unreliable alarms and load. removed pressure build on machine start
Diffstat (limited to 'Software/Embedded_SW/Embedded/Communication')
-rw-r--r--Software/Embedded_SW/Embedded/Communication/Connection.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Communication/Connection.c b/Software/Embedded_SW/Embedded/Communication/Connection.c
index 551ffeeab..1d9f43cd1 100644
--- a/Software/Embedded_SW/Embedded/Communication/Connection.c
+++ b/Software/Embedded_SW/Embedded/Communication/Connection.c
@@ -43,6 +43,10 @@ void ConnectionRequest(MessageContainer* requestContainer)
DeviceInformation DevInfo = DEVICE_INFORMATION__INIT;
ConnectResponse response = CONNECT_RESPONSE__INIT;
+ if (GeneralHwReady == false)
+ {
+ return;
+ }
unsigned char Major = 0;
unsigned char Year = 0 ;
unsigned char Month = 0;
@@ -55,6 +59,7 @@ void ConnectionRequest(MessageContainer* requestContainer)
char BoardVersion[30] = {0};
char AssyVersion[30] = {0};
response.deviceinformation = &DevInfo;
+
/*
extern TangoVersion_t _gTangoVersion;
extern char Dat[50];