diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2020-05-13 18:47:54 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2020-05-13 18:47:54 +0300 |
| commit | 3f3783fa8a4f103126bdef5e664e5bbd226307ce (patch) | |
| tree | cce80c4c00d99c22c873b098598b426be54a19b7 /Software/Embedded_SW/Embedded/Modules/Control | |
| parent | cd750d626d3780990797faf09446033bbaa4311c (diff) | |
| download | Tango-3f3783fa8a4f103126bdef5e664e5bbd226307ce.tar.gz Tango-3f3783fa8a4f103126bdef5e664e5bbd226307ce.zip | |
waste level measurement improved, fix heating up on gradient job (file checking took too much time)
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c index e0d1e38de..fab0831fe 100644 --- a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c +++ b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c @@ -737,7 +737,7 @@ uint32_t MillisecLowLoop(uint32_t tick) WHS_Blower_Avarege(DRIER_FLOW_METER); WHS_Start_Blower_Control_Closed_Loop (); - static uint8_t Whs_emptying_cycle = 0; + /* static uint8_t Whs_emptying_cycle = 0; // #warning TBD need to define the timing if(Whs_emptying_cycle >= 2) @@ -749,7 +749,7 @@ uint32_t MillisecLowLoop(uint32_t tick) { Whs_emptying_cycle++; } - + */ } } if (Tensecond_Tick) @@ -774,7 +774,8 @@ uint32_t MillisecLowLoop(uint32_t tick) /*if (WHS_Type == WHS_TYPE_UNKNOWN) Gas_PPM_Info = Calculate_Gas_Power_Consumption();*/ if (WHS_Type == WHS_TYPE_NEW) - ReportWithPackageFilter(ThreadFilter,"waste tank calculate level",__FILE__,__LINE__,(int)(GetWHSWasteTankLevelMiliLiter()*1000),RpWarning,(int) msec_millisecondCounter,0); + waste_seq_step1();// include 1Sec delay +// ReportWithPackageFilter(ThreadFilter,"waste tank calculate level",__FILE__,__LINE__,(int)(GetWHSWasteTankLevelMiliLiter()*1000),RpWarning,(int) msec_millisecondCounter,0); //Trigger_WHS_MAX11614_Read_allADC(); #ifdef CONTROL_DEBUG ResetControlTime(); |
