From a84e40980f7bc2c8ef3c2bfd546cfb3ecc6e05d7 Mon Sep 17 00:00:00 2001 From: Shlomo Hecht Date: Mon, 11 Jan 2021 17:25:10 +0200 Subject: short cycle, built in test, waste calculation --- Software/Embedded_SW/Embedded/Modules/Waste/Waste_maint.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Software/Embedded_SW/Embedded/Modules/Waste') 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)))) { -- cgit v1.3.1