Index: firmware/App/Controllers/DialOutFlow.c =================================================================== diff -u -r61716bc97ecca8af1ec560333844a8cf602eccb0 -rcf0f5e54c1a7af4d8a739cbd677d899d95e4019b --- firmware/App/Controllers/DialOutFlow.c (.../DialOutFlow.c) (revision 61716bc97ecca8af1ec560333844a8cf602eccb0) +++ firmware/App/Controllers/DialOutFlow.c (.../DialOutFlow.c) (revision cf0f5e54c1a7af4d8a739cbd677d899d95e4019b) @@ -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.