aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Control
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2020-10-22 10:58:51 +0300
committerAvi Levkovich <avi@twine-s.com>2020-10-22 10:58:51 +0300
commit219a7b128d143ef36a5e8ace4d97766b14342517 (patch)
treea24d7a9b0b6efaa29ffbac528fda38a8508ad684 /Software/Embedded_SW/Embedded/Modules/Control
parenta66451c7173858d83c06943f05ee713ad6b0892b (diff)
downloadTango-219a7b128d143ef36a5e8ace4d97766b14342517.tar.gz
Tango-219a7b128d143ef36a5e8ace4d97766b14342517.zip
update Shinko communication - not in use right now
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
index 2428ef465..161382af7 100644
--- a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
+++ b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
@@ -720,6 +720,7 @@ uint32_t MillisecLowLoop(uint32_t tick)
if (isMotorConfigured(Motor_i))
MotorGetStatusFromFPGA(Motor_i);
}
+#ifdef USE_SHINKO_AUTO_COMM
if ((WHS_Type == WHS_TYPE_NEW)&&(Shinko_Read == true))
{
if(ShinkoTempDeg.Read_Setup == 0x00)//didn't read it yet
@@ -738,6 +739,7 @@ uint32_t MillisecLowLoop(uint32_t tick)
WHS_Shinko_Communication(R_Value); // Reading every fourth cycle (Set HW, Request, Set HW, Response)
}
}
+#endif
}
if ((O500Millisecond_Tick)&&(RapidPressureRead == false))
{