aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Waste/Waste_maint.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2021-01-11 17:25:10 +0200
committerShlomo Hecht <shlomo@twine-s.com>2021-01-11 17:25:10 +0200
commita84e40980f7bc2c8ef3c2bfd546cfb3ecc6e05d7 (patch)
treec1c676de3dacfd7a235cf51491b25a37a9c408fb /Software/Embedded_SW/Embedded/Modules/Waste/Waste_maint.c
parentf45328f87cab862e94a7d749197a56c68bd155f0 (diff)
downloadTango-a84e40980f7bc2c8ef3c2bfd546cfb3ecc6e05d7.tar.gz
Tango-a84e40980f7bc2c8ef3c2bfd546cfb3ecc6e05d7.zip
short cycle, built in test, waste calculation
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Waste/Waste_maint.c')
-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 374977065..a2ab1f426 100644
--- a/Software/Embedded_SW/Embedded/Modules/Waste/Waste_maint.c
+++ b/Software/Embedded_SW/Embedded/Modules/Waste/Waste_maint.c
@@ -598,6 +598,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))))
{