Index: firmware/App/Modes/ModeTreatmentParams.c =================================================================== diff -u -r13b0a5da20358c77ea1a415b723f5bd7382859f6 -re1c2eb1a88e284425311dae2900fb1f04f864bef --- firmware/App/Modes/ModeTreatmentParams.c (.../ModeTreatmentParams.c) (revision 13b0a5da20358c77ea1a415b723f5bd7382859f6) +++ firmware/App/Modes/ModeTreatmentParams.c (.../ModeTreatmentParams.c) (revision e1c2eb1a88e284425311dae2900fb1f04f864bef) @@ -622,7 +622,8 @@ switch( param ) { case TREATMENT_PARAM_BLOOD_FLOW: - result = ( ( value.uInt >= hdInstitutionalRecord.minBloodFlowMLPM ) && ( value.uInt <= hdInstitutionalRecord.maxBloodFlowMLPM ) ? TRUE : FALSE ); + result = ( ( value.uInt >= hdInstitutionalRecord.minBloodFlowMLPM ) && + ( value.uInt <= hdInstitutionalRecord.maxBloodFlowMLPM ) ? TRUE : FALSE ); break; case TREATMENT_PARAM_DIALYSATE_FLOW: @@ -631,7 +632,8 @@ break; case TREATMENT_PARAM_TREATMENT_DURATION: - result = ( ( value.uInt >= hdInstitutionalRecord.minTxDurationMIN ) && ( value.uInt <= hdInstitutionalRecord.maxTxDurationMIN ) ? TRUE : FALSE ); + result = ( ( value.uInt >= hdInstitutionalRecord.minTxDurationMIN ) && + ( value.uInt <= hdInstitutionalRecord.maxTxDurationMIN ) ? TRUE : FALSE ); break; case TREATMENT_PARAM_HEPARIN_PRE_STOP_TIME: Index: firmware/App/Modes/ModeTreatmentParams.h =================================================================== diff -u -r031ad982a60a1cb2a385aaaf7c7cb5e83130d798 -re1c2eb1a88e284425311dae2900fb1f04f864bef --- firmware/App/Modes/ModeTreatmentParams.h (.../ModeTreatmentParams.h) (revision 031ad982a60a1cb2a385aaaf7c7cb5e83130d798) +++ firmware/App/Modes/ModeTreatmentParams.h (.../ModeTreatmentParams.h) (revision e1c2eb1a88e284425311dae2900fb1f04f864bef) @@ -108,12 +108,12 @@ S32 getS32TreatmentParamLowerRangeLimit( TREATMENT_PARAM_T param ); // Get the lower range limit for a signed integer treatment parameter S32 getS32TreatmentParamUpperRangeLimit( TREATMENT_PARAM_T param ); // Get the upper range limit for a signed integer treatment parameter -U32 getU32TreatmentParamLowerRangeLimit( TREATMENT_PARAM_T param ); // Get the lower range limit for a signed integer treatment parameter -U32 getU32TreatmentParamUpperRangeLimit( TREATMENT_PARAM_T param ); // Get the upper range limit for a signed integer treatment parameter -F32 getF32TreatmentParamLowerRangeLimit( TREATMENT_PARAM_T param ); // Get the lower range limit for a signed integer treatment parameter -F32 getF32TreatmentParamUpperRangeLimit( TREATMENT_PARAM_T param ); // Get the upper range limit for a signed integer treatment parameter -BOOL isNVInstitutionalRecordInRange( HD_INSTITUTIONAL_RECORD_T* nvInstRcrd ); -void setNVInstitutionalRecordToTxParamsRecord( HD_INSTITUTIONAL_RECORD_T* nvInstitutionalRecord ); +U32 getU32TreatmentParamLowerRangeLimit( TREATMENT_PARAM_T param ); // Get the lower range limit for an unsigned integer treatment parameter +U32 getU32TreatmentParamUpperRangeLimit( TREATMENT_PARAM_T param ); // Get the upper range limit for an unsigned integer treatment parameter +F32 getF32TreatmentParamLowerRangeLimit( TREATMENT_PARAM_T param ); // Get the lower range limit for a float treatment parameter +F32 getF32TreatmentParamUpperRangeLimit( TREATMENT_PARAM_T param ); // Get the upper range limit for a float treatment parameter +BOOL isNVInstitutionalRecordInRange( HD_INSTITUTIONAL_RECORD_T* nvInstRcrd ); // Is non-volatile memory institutional record in range +void setNVInstitutionalRecordToTxParamsRecord( HD_INSTITUTIONAL_RECORD_T* nvInstitutionalRecord ); // Set the recently received institution record from NV to local tx parameters F32 getUltrafiltrationVolumeOriginal( void ); // Get the original ultrafiltration volume, set in pre-treatment mode by user. F32 getUltrafiltrationRateOriginal( void ); // Get/calculate the original ultrafiltration rate, by ultrafiltration volume and treatment duration set in pre-treatment mode by user.