Index: firmware/App/Services/ROInterface.c =================================================================== diff -u -r9102c5da21a15bdaf4bb3bc38795ceb064e3c443 -rd1527b612b7af4bd3103743b5a61ecad3a133ac0 --- firmware/App/Services/ROInterface.c (.../ROInterface.c) (revision 9102c5da21a15bdaf4bb3bc38795ceb064e3c443) +++ firmware/App/Services/ROInterface.c (.../ROInterface.c) (revision d1527b612b7af4bd3103743b5a61ecad3a133ac0) @@ -111,21 +111,22 @@ /*********************************************************************//** * @brief - * The cmdROStartStop function sends a start/stop command to RO to deliver - * purified water and required flow rate. + * The cmdROStartStop function sends a start/stop command to RO for mode + * transition and generate water with commanded flow rate. * @details Inputs: none * @details Outputs: start/stop command along with flow rate if applicable. * @param startStop To start/stop the RO delivery. * @return TRUE if msg successfully queued for transmit, FALSE if not *************************************************************************/ -BOOL cmdROStartStop( BOOL startStop) +BOOL cmdROStartStop( BOOL startStop, RO_CMD_ID cmdMode) { RO_WATER_REQ_PAYLOAD_T roStartRequest; BOOL result; MESSAGE_T msg; U08 *payloadPtr = msg.payload; // Populate RO start message + roStartRequest.cmdID = (U32)cmdMode; roStartRequest.start = startStop; roStartRequest.roRate = getROFlowRate();