diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2018-09-03 11:52:45 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2018-09-03 11:52:45 +0300 |
| commit | a7fe3ddc7349fe00f0772f6aae32ca186495ff40 (patch) | |
| tree | 3b0d4b6d936e43fb5b2c64272e97522754b3f4e5 /Software/Embedded_SW/Embedded/Communication/Connection.c | |
| parent | cfb996898f8a35f992789fb7548117aebbfa84f7 (diff) | |
| download | Tango-a7fe3ddc7349fe00f0772f6aae32ca186495ff40.tar.gz Tango-a7fe3ddc7349fe00f0772f6aae32ca186495ff40.zip | |
Dispenser homing functions moved to IDS. valves external interface improved
Diffstat (limited to 'Software/Embedded_SW/Embedded/Communication/Connection.c')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Communication/Connection.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Software/Embedded_SW/Embedded/Communication/Connection.c b/Software/Embedded_SW/Embedded/Communication/Connection.c index 0b539b276..b01750529 100644 --- a/Software/Embedded_SW/Embedded/Communication/Connection.c +++ b/Software/Embedded_SW/Embedded/Communication/Connection.c @@ -64,11 +64,11 @@ void ConnectionRequest(MessageContainer* requestContainer) FPGA_ReadVersion(1, &Major, &Year, &Month, &Day); usnprintf(FPGA2Version, 20, "%d.%d.%d.%d",Major,Year, Month, Day); - DevInfo.fpga2version = FPGA1Version; + DevInfo.fpga2version = FPGA2Version; FPGA_ReadVersion(2, &Major, &Year, &Month, &Day); usnprintf(FPGA3Version, 20, "%d.%d.%d.%d",Major,Year, Month, Day); - DevInfo.fpga3version = FPGA1Version; + DevInfo.fpga3version = FPGA3Version; Read_HW_Version(BoardVersion, AssyVersion); @@ -76,6 +76,7 @@ void ConnectionRequest(MessageContainer* requestContainer) DevInfo.assemblyversion = AssyVersion; + responseContainer = createContainer(MESSAGE_TYPE__ConnectResponse, requestContainer->token, true, &response, &connect_response__pack, &connect_response__get_packed_size); //------------------------------------------------------------------------------------------- |
