aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Control
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2019-07-24 14:03:35 +0300
committerShlomo Hecht <shlomo@twine-s.com>2019-07-24 14:03:35 +0300
commit1a4e2e8a731c7d4c6150de73b36b7c40d6422cd7 (patch)
treea211d3fdbe6dc8e98a14a50b4d7d2161bbc91a4f /Software/Embedded_SW/Embedded/Modules/Control
parent17a32af2a2500d6da0e59d3085ddfd43d0ee5270 (diff)
downloadTango-1a4e2e8a731c7d4c6150de73b36b7c40d6422cd7.tar.gz
Tango-1a4e2e8a731c7d4c6150de73b36b7c40d6422cd7.zip
Version 1.4.2.5 firmware upgrade works, improved thread load. (works????)
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
index c1fcd4030..e3955793d 100644
--- a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
+++ b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
@@ -426,10 +426,8 @@ uint32_t MillisecLoop(uint32_t tick)
{
#ifdef Use_Head_Card
HeadADCPT100_SendReadDataCommand(Sensor_i);
- #else
- TemperatureSensorReadFromFPGA_Res(Sensor_i); //got the data from the FPGA
#endif
-
+ TemperatureSensorReadFromFPGA_Res(Sensor_i); //got the data from the FPGA
PT100Data[Sensor_i].WaitForData = false;
PT100Data[Sensor_i].SyncRequired = true;
if (PT100Data[Sensor_i].Callback)
@@ -440,9 +438,8 @@ uint32_t MillisecLoop(uint32_t tick)
{
#ifdef Use_Head_Card
HeadADCPT100_StartSync(Sensor_i);
- #else
- TemperatureSensorSync(Sensor_i);
#endif
+ TemperatureSensorSync(Sensor_i);
PT100Data[Sensor_i].SyncRequired = false;
PT100Activity--;