Index: firmware/App/Controllers/FlowSensors.c =================================================================== diff -u -rcb4d35cc50df2d3cc9e828cd92e53cf456ca9b9d -r8074ecece0b11532c173ad951a98036f0c54ca52 --- firmware/App/Controllers/FlowSensors.c (.../FlowSensors.c) (revision cb4d35cc50df2d3cc9e828cd92e53cf456ca9b9d) +++ firmware/App/Controllers/FlowSensors.c (.../FlowSensors.c) (revision 8074ecece0b11532c173ad951a98036f0c54ca52) @@ -170,6 +170,21 @@ /*********************************************************************//** * @brief + * The getMeasuredROFlowRateWithConcPumpsLPM function gets the measured flow + * rate of a flow sensor in L/min. + * @details Inputs: flowSensorStatus + * @details Outputs: flowSensorStatus + * @return the current flow rate (in L/min). + *************************************************************************/ +F32 getMeasuredROFlowRateWithConcPumpsLPM( void ) +{ + F32 flow = getF32OverrideValue( &flowSensorStatus[ RO_FLOW_SENSOR ].measuredROFlowWithCPsLPM ); + + return flow; +} + +/*********************************************************************//** + * @brief * The publishFlowSensorsData function publishes flow sensors data at * the set interval. * @details Inputs: flowSensorsDataPublicationCounter,