aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Control
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-10-19 16:01:39 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-10-19 16:01:39 +0300
commitb732167cbc51f0b19447d67687af5c514cf4f65a (patch)
tree52d87fb027374490357c84e67c4e4fa462c22f3c /Software/Embedded_SW/Embedded/Modules/Control
parente9ea1f69f6ae9428e542b887be42d7fd7e1d560c (diff)
parenta66451c7173858d83c06943f05ee713ad6b0892b (diff)
downloadTango-b732167cbc51f0b19447d67687af5c514cf4f65a.tar.gz
Tango-b732167cbc51f0b19447d67687af5c514cf4f65a.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
index 6b4f4ac59..2428ef465 100644
--- a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
+++ b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
@@ -734,6 +734,7 @@ uint32_t MillisecLowLoop(uint32_t tick)
}
else
{
+ //finish reading the setup before start reading the value
WHS_Shinko_Communication(R_Value); // Reading every fourth cycle (Set HW, Request, Set HW, Response)
}
}
@@ -819,6 +820,8 @@ uint32_t MillisecLowLoop(uint32_t tick)
Read_MidTank_Pressure_Sensor(Disp_i);
}
#endif
+
+ Shinko_Read = true;//start cycle of R/W setup or value every 10Sec
}
if (OneMinute_Tick)
{
@@ -849,7 +852,7 @@ uint32_t MillisecLowLoop(uint32_t tick)
{
waste_seq_step1();// include 1Sec delay <- to open !!!!
}*/
- Shinko_Read = true;
+
}
if (OneHourTick)
{