Index: firmware/App/Controllers/DrainPump.c =================================================================== diff -u -r5cee5f88d4d3f18b4178621f1ef175b0873d6248 -rab447ebbc380f4c7abc2ae283042a5d0c9e1b9cb --- firmware/App/Controllers/DrainPump.c (.../DrainPump.c) (revision 5cee5f88d4d3f18b4178621f1ef175b0873d6248) +++ firmware/App/Controllers/DrainPump.c (.../DrainPump.c) (revision ab447ebbc380f4c7abc2ae283042a5d0c9e1b9cb) @@ -263,10 +263,11 @@ currentDrainPumpRPM = CONVERSION_COEFF / getFPGADrainPumpSpeed(); } + // TODO this is disabled until RPM is calculated propely. // The RPM is only checked in open loop state that the pump is run at a fixed RPM. // The persistent alarm waits for a couple of seconds before raising an alarm, this is supposed to cover // when the pump is turned on and it takes a while to ramp up to target RPM. - if( drainPumpControlModeSet == PUMP_CONTROL_MODE_OPEN_LOOP ) + /*if( drainPumpControlModeSet == PUMP_CONTROL_MODE_OPEN_LOOP ) { U32 targetRPM = getTargetDrainPumpRPM(); F32 threshold = OPEN_LOOP_RPM_OUT_OF_RANGE * targetRPM; @@ -289,7 +290,7 @@ { activateSafetyShutdown(); } - } + }*/ // Publish drain pump data on interval publishDrainPumpData();