aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Waste
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2021-01-12 10:28:10 +0200
committerAvi Levkovich <avi@twine-s.com>2021-01-12 10:28:10 +0200
commit38d2b46c7ca963a31ee43ae5bb1623dca2bc3e7c (patch)
treed32a769242e70d0ec16bb31a800d24d90922e8d9 /Software/Embedded_SW/Embedded/Modules/Waste
parent05c1491a79416934cd4e1c13a0972fe621f97056 (diff)
parentbfd323badd5c5039f49779e3a08452d203bf284e (diff)
downloadTango-38d2b46c7ca963a31ee43ae5bb1623dca2bc3e7c.tar.gz
Tango-38d2b46c7ca963a31ee43ae5bb1623dca2bc3e7c.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Waste')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Waste/Waste_maint.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Waste/Waste_maint.c b/Software/Embedded_SW/Embedded/Modules/Waste/Waste_maint.c
index 9ece0efe6..fbbf1ec58 100644
--- a/Software/Embedded_SW/Embedded/Modules/Waste/Waste_maint.c
+++ b/Software/Embedded_SW/Embedded/Modules/Waste/Waste_maint.c
@@ -607,6 +607,8 @@ uint32_t Waste_PrepareCallbak(uint32_t IfIndex, uint32_t ReadValue)
double HeadFlow = GetWHSAirFlow(HEAD_FLOW_METER);
double HeadIn_Flow = PressureSensorGetPressure(HEAD_FAN_RIGHT);
double HeadOut_Flow = PressureSensorGetPressure(HEAD_FAN_LEFT);
+ if(WHS_Type == WHS_TYPE_UNKNOWN)
+ WHS_FlowReady = true; //LP machine
if ((HeadFlow<(headairflow*(1+AllowedRangeForWasteBlowerDeviation)))
&&(HeadFlow>(headairflow*(1-AllowedRangeForWasteBlowerDeviation))))
{