aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Communication/Connection.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2018-09-05 12:50:10 +0300
committerShlomo Hecht <shlomo@twine-s.com>2018-09-05 12:50:10 +0300
commitfdb22013526ea2d6cbd39df77b87f25e6197e081 (patch)
tree3ae08e7eda1e2ba798e586f442b73fc476bd1c2c /Software/Embedded_SW/Embedded/Communication/Connection.c
parentcbe023d4bf6a1556deee770db4f6a7d1d2fa3af4 (diff)
downloadTango-fdb22013526ea2d6cbd39df77b87f25e6197e081.tar.gz
Tango-fdb22013526ea2d6cbd39df77b87f25e6197e081.zip
streamline all job actions (end, abort) htrough the process task.
Diffstat (limited to 'Software/Embedded_SW/Embedded/Communication/Connection.c')
-rw-r--r--Software/Embedded_SW/Embedded/Communication/Connection.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Software/Embedded_SW/Embedded/Communication/Connection.c b/Software/Embedded_SW/Embedded/Communication/Connection.c
index b01750529..6417d6e64 100644
--- a/Software/Embedded_SW/Embedded/Communication/Connection.c
+++ b/Software/Embedded_SW/Embedded/Communication/Connection.c
@@ -58,15 +58,15 @@ void ConnectionRequest(MessageContainer* requestContainer)
usnprintf(Version, 20, "%d.%d.%d.%d",_gTangoVersion.m_major,_gTangoVersion.m_minor,_gTangoVersion.m_patch,_gTangoVersion.m_build);
DevInfo.version = Version;
- FPGA_ReadVersion(0, &Major, &Year, &Month, &Day);
+ FPGA_ReadVersion(1, &Major, &Year, &Month, &Day);
usnprintf(FPGA1Version, 20, "%d.%d.%d.%d",Major,Year, Month, Day);
DevInfo.fpga1version = FPGA1Version;
- FPGA_ReadVersion(1, &Major, &Year, &Month, &Day);
+ FPGA_ReadVersion(2, &Major, &Year, &Month, &Day);
usnprintf(FPGA2Version, 20, "%d.%d.%d.%d",Major,Year, Month, Day);
DevInfo.fpga2version = FPGA2Version;
- FPGA_ReadVersion(2, &Major, &Year, &Month, &Day);
+ FPGA_ReadVersion(3, &Major, &Year, &Month, &Day);
usnprintf(FPGA3Version, 20, "%d.%d.%d.%d",Major,Year, Month, Day);
DevInfo.fpga3version = FPGA3Version;