Index: firmware/App/Controllers/BloodFlow.c =================================================================== diff -u -r25a6eff69c9371f7a320751adf5359aaf070e5b0 -r96aec7a73db8d83d001eec977d509f02703b7788 --- firmware/App/Controllers/BloodFlow.c (.../BloodFlow.c) (revision 25a6eff69c9371f7a320751adf5359aaf070e5b0) +++ firmware/App/Controllers/BloodFlow.c (.../BloodFlow.c) (revision 96aec7a73db8d83d001eec977d509f02703b7788) @@ -87,7 +87,7 @@ /// Persist time period blood pump rotor speed too fast error condition. static const U32 BP_MAX_ROTOR_SPEED_ERROR_PERSIST = ( 1 * MS_PER_SECOND ); /// Persist time (task intervals) blood flow rate out of range error condition. -static const U32 BP_MAX_FLOW_RATE_OUT_OF_RANGE_PERSIST = ((1 * MS_PER_SECOND) / TASK_PRIORITY_INTERVAL); +static const U32 BP_MAX_FLOW_RATE_OUT_OF_RANGE_PERSIST = (1 * MS_PER_SECOND); #define BP_MAX_CURR_WHEN_STOPPED_MA 150.0 ///< Motor controller current should not exceed this when pump should be stopped. #define BP_MAX_CURR_WHEN_RUNNING_MA 2000.0 ///< Motor controller current should not exceed this when pump should be running. Index: firmware/App/Controllers/DialInFlow.c =================================================================== diff -u -rc482b47217e0ea686fe282ff2479f5946bbeaac5 -r96aec7a73db8d83d001eec977d509f02703b7788 --- firmware/App/Controllers/DialInFlow.c (.../DialInFlow.c) (revision c482b47217e0ea686fe282ff2479f5946bbeaac5) +++ firmware/App/Controllers/DialInFlow.c (.../DialInFlow.c) (revision 96aec7a73db8d83d001eec977d509f02703b7788) @@ -82,7 +82,7 @@ /// Persist time (task intervals) pump direction error condition. static const U32 DIP_DIRECTION_ERROR_PERSIST = (250 / TASK_PRIORITY_INTERVAL); /// Persist time (task intervals) dialysate flow rate out of range error condition. -static const U32 DIP_MAX_FLOW_RATE_OUT_OF_RANGE_PERSIST = ((1 * MS_PER_SECOND) / TASK_PRIORITY_INTERVAL); +static const U32 DIP_MAX_FLOW_RATE_OUT_OF_RANGE_PERSIST = (1 * MS_PER_SECOND); /// Time threshold to trigger an alarm if Dialysate flow data has not arrived within 3 seconds static const U32 DIP_DIALYSATE_FLOW_DATA_ALARM_THRESHOLD = ((3 * MS_PER_SECOND) / TASK_PRIORITY_INTERVAL);