Index: firmware/App/Controllers/DialInFlow.c =================================================================== diff -u -r5dc6f629ae40d8939fd3bd7c4e3dffb04fa137e7 -r30b1f6126c37f7b99cf699f63b4bcee9d1a1745f --- firmware/App/Controllers/DialInFlow.c (.../DialInFlow.c) (revision 5dc6f629ae40d8939fd3bd7c4e3dffb04fa137e7) +++ firmware/App/Controllers/DialInFlow.c (.../DialInFlow.c) (revision 30b1f6126c37f7b99cf699f63b4bcee9d1a1745f) @@ -101,7 +101,7 @@ #define FLOW_SIG_STRGTH_ALARM_PERSIST ( 5 * MS_PER_SECOND ) #define MIN_FLOW_SIG_STRENGTH 0.9 ///< Minimum flow sensor signal strength (90%). -#define DFM_SENSOR_CONNECTED_STATUS 2 ///< Dialysate flow meter connected status. +#define DFM_SENSOR_PARAM_CORRUPT_STATUS 0x7 ///< Dialysate flow meter NVM parameter corrupt status. /// Enumeration of dialysate inlet pump states. typedef enum DialInPump_States @@ -1223,7 +1223,7 @@ CALIBRATION_DATA_T cal; // Retrieve dialysate flow sensor calibration data - if ( ( TRUE == getCalibrationData( &cal ) ) && ( DFM_SENSOR_CONNECTED_STATUS == getFPGADialysateFlowMeterStatus() ) ) + if ( ( TRUE == getCalibrationData( &cal ) ) && ( DFM_SENSOR_PARAM_CORRUPT_STATUS != getFPGADialysateFlowMeterStatus() ) ) { dialInFlowCalGain = cal.dialysateFlowGain; dialInFlowCalOffset = cal.dialysateFlowOffset_mL_min;