Index: firmware/App/Controllers/DialOutFlow.c =================================================================== diff -u -rdd1a9a6f5e43a5da27f4d51f56388f7d019cc43d -recfe9ec722ad63e9db99cb3fd6c2843693d058a4 --- firmware/App/Controllers/DialOutFlow.c (.../DialOutFlow.c) (revision dd1a9a6f5e43a5da27f4d51f56388f7d019cc43d) +++ firmware/App/Controllers/DialOutFlow.c (.../DialOutFlow.c) (revision ecfe9ec722ad63e9db99cb3fd6c2843693d058a4) @@ -461,6 +461,21 @@ /*********************************************************************//** * @brief + * The isDialOutPumpRampComplete function returns whether the dialysate outlet pump has + * completed its ramp up and entered control state (closed or open loop). + * @details Inputs: dialOutPumpState + * @details Outputs: none + * @return TRUE if pump is in control state, FALSE if not + *************************************************************************/ +BOOL isDialOutPumpRampComplete( void ) +{ + BOOL result = ( DIAL_OUT_PUMP_CONTROL_TO_TARGET_STATE == dialOutPumpState ? TRUE : FALSE ); + + return result; +} + +/*********************************************************************//** + * @brief * The execDialOutFlowMonitor function executes the dialysate outlet pump * and load cell sensor monitor. Checks are performed. Data is published * at appropriate interval.