aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Control
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-10-11 16:55:45 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-10-11 16:55:45 +0300
commitac3f1ee33017e1823cfff46073b1a617b438d612 (patch)
tree18d07142b043a777879f2a0e8946e42005019181 /Software/Embedded_SW/Embedded/Modules/Control
parent810bbfab7a812a0d9f0e46ff60d45280594a6716 (diff)
parent6e01dab40eef661b1bb7066ba40272c76ab54f78 (diff)
downloadTango-ac3f1ee33017e1823cfff46073b1a617b438d612.tar.gz
Tango-ac3f1ee33017e1823cfff46073b1a617b438d612.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.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
index 765712502..f1d2005fb 100644
--- a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
+++ b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
@@ -777,9 +777,15 @@ uint32_t MillisecLowLoop(uint32_t tick)
{
//Trigger_WHS_PT100_Read_All();
WHS_Blower_Avarege(HEAD_FLOW_METER);
+ WHS_Blower_Avarege(NU_FLOW_METER);
WHS_Blower_Avarege(DRIER_FLOW_METER);
WHS_Start_Blower_Control_Closed_Loop ();
+ if (ReadingVocEverySec == true)//eOneSecond
+ {
+ Trigger_WHS_MAX11614_Read_Gas_Sensor();
+ }
+
/* static uint8_t Whs_emptying_cycle = 0;
// #warning TBD need to define the timing
@@ -827,7 +833,10 @@ uint32_t MillisecLowLoop(uint32_t tick)
Gas_PPM_Info = Calculate_Gas_Power_Consumption();*/
// ReportWithPackageFilter(ThreadFilter,"waste tank calculate level",__FILE__,__LINE__,(int)(GetWHSWasteTankLevelMiliLiter()*1000),RpWarning,(int) msec_millisecondCounter,0);
//Trigger_WHS_MAX11614_Read_allADC();
- Trigger_WHS_MAX11614_Read_Gas_Sensor();
+ if ((WHS_Type == WHS_TYPE_NEW) && (ReadingVocEverySec == false))//OneMinute_Tick
+ {
+ Trigger_WHS_MAX11614_Read_Gas_Sensor();
+ }
#ifdef CONTROL_DEBUG
ResetControlTime();
#endif