Index: firmware/App/Controllers/DialInFlow.c =================================================================== diff -u -re28798081348b470495ec605fcadda4276f37c46 -r9302e1bd2413cbf99e80ac51aac38502d94801d9 --- firmware/App/Controllers/DialInFlow.c (.../DialInFlow.c) (revision e28798081348b470495ec605fcadda4276f37c46) +++ firmware/App/Controllers/DialInFlow.c (.../DialInFlow.c) (revision 9302e1bd2413cbf99e80ac51aac38502d94801d9) @@ -218,9 +218,9 @@ * @details * Inputs : isDialInPumpOn, dialInPumpDirectionSet * Outputs : targetDialInFlowRate, dialInPumpdirection, dialInPumpPWMDutyCyclePct - * @param flowRate : new target dialIn flow rate - * @param dir : new dialIn flow direction - * @param mode : new control mode + * @param flowRate new target dialIn flow rate + * @param dir new dialIn flow direction + * @param mode new control mode * @return TRUE if new flow rate & dir are set, FALSE if not *************************************************************************/ BOOL setDialInPumpTargetFlowRate( U32 flowRate, MOTOR_DIR_T dir, PUMP_CONTROL_MODE_T mode ) @@ -576,7 +576,7 @@ * @details * Inputs : none * Outputs : dialIn pump stop signal activated, PWM duty cycle zeroed - * @param newPWM : new duty cycle % to apply to PWM + * @param newPWM new duty cycle % to apply to PWM * @return none *************************************************************************/ static void setDialInPumpControlSignalPWM( F32 newPWM ) @@ -620,7 +620,7 @@ * @details * Inputs : dialInPumpState * Outputs : dialInPumpState - * @param dir : dialIn pump direction to set + * @param dir dialIn pump direction to set * @return none *************************************************************************/ static void setDialInPumpDirection( MOTOR_DIR_T dir ) @@ -1185,8 +1185,8 @@ * @details * Inputs : none * Outputs : dialInFlowCalGain, dialInFlowCalOffset - * @param gain : gain calibration factor for dialysate flow sensor - * @param offset : offset calibration factor for dialysate flow sensor + * @param gain gain calibration factor for dialysate flow sensor + * @param offset offset calibration factor for dialysate flow sensor * @return TRUE if calibration factors successfully set/stored, FALSE if not *************************************************************************/ BOOL setDialInFlowCalibration( F32 gain, F32 offset ) @@ -1220,8 +1220,8 @@ * @details * Inputs : dialInFlowCalGain, dialInFlowCalOffset * Outputs : none - * @param gain : value to populate with gain calibration factor for dialysate flow sensor - * @param offset : value to populate with offset calibration factor for dialysate flow sensor + * @param gain value to populate with gain calibration factor for dialysate flow sensor + * @param offset value to populate with offset calibration factor for dialysate flow sensor * @return none *************************************************************************/ void getDialInFlowCalibration( F32 *gain, F32 *offset ) @@ -1237,7 +1237,7 @@ * @details * Inputs : none * Outputs : dialInFlowDataPublishInterval - * @param value : override dialIn flow data publish interval with (in ms) + * @param value override dialIn flow data publish interval with (in ms) * @return TRUE if override successful, FALSE if not *************************************************************************/ BOOL testSetDialInFlowDataPublishIntervalOverride( U32 value ) @@ -1286,8 +1286,8 @@ * @details * Inputs : none * Outputs : targetDialInFlowRate - * @param value : override target dialysate inlet flow rate (in mL/min) - * @param ctrlMode : override pump control mode to this mode (0 = closed loop, 1 = open loop) + * @param value override target dialysate inlet flow rate (in mL/min) + * @param ctrlMode override pump control mode to this mode (0 = closed loop, 1 = open loop) * @return TRUE if override successful, FALSE if not *************************************************************************/ BOOL testSetTargetDialInFlowRateOverride( S32 value, U32 ctrlMode ) @@ -1311,7 +1311,7 @@ targetDialInFlowRate.ovInitData = targetDialInFlowRate.data; // backup current target flow rate targetDialInFlowRate.ovData = value; targetDialInFlowRate.override = OVERRIDE_KEY; - result = setDialInPumpTargetFlowRate( ABS(value), dir, (PUMP_CONTROL_MODE_T)ctrlMode ); + result = setDialInPumpTargetFlowRate( abs(value), dir, (PUMP_CONTROL_MODE_T)ctrlMode ); } } @@ -1350,7 +1350,7 @@ * @details * Inputs : none * Outputs : measuredDialInFlowRate - * @param value : override measured dialIn flow rate (in mL/min) + * @param value override measured dialIn flow rate (in mL/min) * @return TRUE if override successful, FALSE if not *************************************************************************/ BOOL testSetMeasuredDialInFlowRateOverride( F32 value ) @@ -1397,7 +1397,7 @@ * @details * Inputs : none * Outputs : dialInPumpRotorSpeedRPM - * @param value : override measured dialIn pump rotor speed (in RPM) + * @param value override measured dialIn pump rotor speed (in RPM) * @return TRUE if override successful, FALSE if not *************************************************************************/ BOOL testSetMeasuredDialInPumpRotorSpeedOverride( F32 value ) @@ -1444,7 +1444,7 @@ * @details * Inputs : none * Outputs : dialInPumpSpeedRPM - * @param value : override measured dialIn pump motor speed (in RPM) + * @param value override measured dialIn pump motor speed (in RPM) * @return TRUE if override successful, FALSE if not *************************************************************************/ BOOL testSetMeasuredDialInPumpSpeedOverride( F32 value ) @@ -1491,7 +1491,7 @@ * @details * Inputs : none * Outputs : adcDialInPumpMCSpeedRPM - * @param value : override measured dialIn pump speed (in RPM) + * @param value override measured dialIn pump speed (in RPM) * @return TRUE if override successful, FALSE if not *************************************************************************/ BOOL testSetMeasuredDialInPumpMCSpeedOverride( F32 value ) @@ -1538,7 +1538,7 @@ * @details * Inputs : none * Outputs : adcDialInPumpMCCurrentmA - * @param value : override measured dialIn pump current (in mA) + * @param value override measured dialIn pump current (in mA) * @return TRUE if override successful, FALSE if not *************************************************************************/ BOOL testSetMeasuredDialInPumpMCCurrentOverride( F32 value )