Index: firmware/App/Controllers/DialInFlow.c =================================================================== diff -u -ra053cecf0673654e2bc03e9a34ff15845c8cff93 -rd9eb73b5c42911272f897f5bd612fa9ada674dd0 --- firmware/App/Controllers/DialInFlow.c (.../DialInFlow.c) (revision a053cecf0673654e2bc03e9a34ff15845c8cff93) +++ firmware/App/Controllers/DialInFlow.c (.../DialInFlow.c) (revision d9eb73b5c42911272f897f5bd612fa9ada674dd0) @@ -1406,9 +1406,9 @@ // Check only performed while in treatment mode and while we are in control to target state if ( ( MODE_TREA == getCurrentOperationMode() ) && ( DIAL_IN_PUMP_CONTROL_TO_TARGET_STATE == dialInPumpState ) ) { - F32 flow = (F32)targetDialInFlowRate; + F32 tgt = (F32)targetDialInFlowRate; F32 speed = getMeasuredDialInPumpSpeed(); - F32 impliedSpeed = dialysateInPumpRPMFromTargetFlowRate( flow ); + F32 impliedSpeed = dialysateInPumpRPMFromTargetFlowRate( tgt ); F32 delta = fabs( speed - impliedSpeed ); if ( delta > DIP_MAX_FLOW_VS_SPEED_DIFF_RPM ) @@ -1419,7 +1419,7 @@ if ( getSoftwareConfigStatus( SW_CONFIG_DISABLE_PUMP_FLOW_CHECKS ) != SW_CONFIG_ENABLE_VALUE ) #endif { - SET_ALARM_WITH_2_F32_DATA( ALARM_ID_DIAL_IN_PUMP_FLOW_VS_MOTOR_SPEED_CHECK, flow, speed ); + SET_ALARM_WITH_2_F32_DATA( ALARM_ID_DIAL_IN_PUMP_FLOW_VS_MOTOR_SPEED_CHECK, speed, impliedSpeed ); } } }