Index: firmware/App/Services/DDInterface.c =================================================================== diff -u -rfc697848283d289571f9d365b28acf44beb0883e -r9c833ef5623ce842267e284d958820ac0dc3a7fc --- firmware/App/Services/DDInterface.c (.../DDInterface.c) (revision fc697848283d289571f9d365b28acf44beb0883e) +++ firmware/App/Services/DDInterface.c (.../DDInterface.c) (revision 9c833ef5623ce842267e284d958820ac0dc3a7fc) @@ -114,7 +114,6 @@ dialysateDeliveryCmdSet.start = FALSE; dialysateDeliveryCmdSet.dialRate = 0.0F; dialysateDeliveryCmdSet.ufRate = 0.0F; - dialysateDeliveryCmdSet.hdfRate = 0.0F; dialysateDeliveryCmdSet.dialTemp = 0.0F; dialysateDeliveryCmdSet.bypassDialyzer = TRUE; dialysateDeliveryCmdSet.acidConvFactor = 0.0F; @@ -383,7 +382,6 @@ * @details \b Message \b Sent: Start/continue generate dialysate command. * @param qd Target dialysate flow rate (Qd). * @param quf Target ultrafiltration rate (Quf) (in mL/min). - * @param qhdf Hemodiafiltration rate (Qhdf) (in mL/min). * @param dialTemp Target dialysate temperature in deg C. * @param bypass Flag indicating whether dialyzer should be bypassed. * @param acidConvFactor Conversion factor for the acid used. @@ -392,12 +390,11 @@ * @param bicarbonate Level of bicarbonate used in mEq/L. * @return none *************************************************************************/ -void cmdStartGenerateDialysate( F32 qd, F32 quf, F32 qhdf, F32 dialTemp, BOOL bypass, F32 acidConvFactor, F32 bicarbConvFactor, U32 sodium, U32 bicarbonate ) +void cmdStartGenerateDialysate( F32 qd, F32 quf, F32 dialTemp, BOOL bypass, F32 acidConvFactor, F32 bicarbConvFactor, U32 sodium, U32 bicarbonate ) { dialysateDeliveryCmdSet.start = TRUE; dialysateDeliveryCmdSet.dialRate = qd; dialysateDeliveryCmdSet.ufRate = quf; - dialysateDeliveryCmdSet.hdfRate = qhdf; dialysateDeliveryCmdSet.dialTemp = dialTemp; dialysateDeliveryCmdSet.bypassDialyzer = bypass; dialysateDeliveryCmdSet.acidConvFactor = acidConvFactor; @@ -464,31 +461,6 @@ /*********************************************************************//** * @brief - * The cmdChangeQhdf function sends a generate dialysate command to the DD - * with a given new hemodiafiltration rate. - * @details \b Inputs: none - * @details \b Outputs: dialysateDeliveryCmdSet - * @details \b Message \b Sent: Continue generate dialysate command w/ new Quf. - * @param qhdf, hemodiafiltration flow rate (in mL/min). - * @return none - *************************************************************************/ -void cmdChangeQhdf( F32 qhdf ) -{ - if ( TRUE == dialysateDeliveryCmdSet.start ) - { - dialysateDeliveryCmdSet.hdfRate = qhdf; -#ifndef TEST_UI_ONLY - sendMessage( MSG_ID_DD_GEN_DIALYSATE_REQUEST_DATA, COMM_BUFFER_OUT_CAN_TD_2_DD, (U08*)(&dialysateDeliveryCmdSet), sizeof( DIALYSATE_DELIVERY_REQ_PAYLOAD_T ) ); -#endif - } - else - { - // TODO - s/w fault? - } -} - -/*********************************************************************//** - * @brief * The cmdBypassDialyzer function sends a generate dialysate command to the DD * with a given flag indicating whether dialyzer should be bypassed. * @details \b Inputs: none