Index: firmware/App/Modes/Prime.c =================================================================== diff -u -r56a29edb597683fdf83c87ae46af3d2dcdf0e834 -r7afa4685f396a17441462b2a57043b247f0394e1 --- firmware/App/Modes/Prime.c (.../Prime.c) (revision 56a29edb597683fdf83c87ae46af3d2dcdf0e834) +++ firmware/App/Modes/Prime.c (.../Prime.c) (revision 7afa4685f396a17441462b2a57043b247f0394e1) @@ -165,6 +165,19 @@ setAlarmUserActionEnabled( ALARM_USER_ACTION_RINSEBACK, FALSE ); setAlarmUserActionEnabled( ALARM_USER_ACTION_END_TREATMENT, TRUE ); + // Pumps should be off + signalBloodPumpHardStop(); + signalDialInPumpHardStop(); + signalDialOutPumpHardStop(); + stopSyringePump(); + + // Set valves to default positions + setValveAirTrap( STATE_CLOSED ); + setValvePosition( VDI, VALVE_POSITION_C_CLOSE ); + setValvePosition( VDO, VALVE_POSITION_C_CLOSE ); + setValvePosition( VBA, VALVE_POSITION_C_CLOSE ); + setValvePosition( VBV, VALVE_POSITION_C_CLOSE ); + resetPrimeFlags(); }