Index: firmware/App/Modes/ModeFault.c =================================================================== diff -u -ra2bc96881a5fc3d8f779246b2abebf15a8de9384 -rd3b7ae356aae29c99cb039713a2e120fdbce5a9c --- firmware/App/Modes/ModeFault.c (.../ModeFault.c) (revision a2bc96881a5fc3d8f779246b2abebf15a8de9384) +++ firmware/App/Modes/ModeFault.c (.../ModeFault.c) (revision d3b7ae356aae29c99cb039713a2e120fdbce5a9c) @@ -18,10 +18,12 @@ #include "AlarmLamp.h" #include "BloodFlow.h" #include "Buttons.h" +#include "DGInterface.h" #include "DialInFlow.h" #include "DialOutFlow.h" #include "ModeFault.h" #include "OperationModes.h" +#include "SyringePump.h" #include "Valves.h" /** @@ -42,7 +44,7 @@ *************************************************************************/ void initFaultMode( void ) { - // TODO - anything to do here? + // nothing to do here } /*********************************************************************//** @@ -76,6 +78,9 @@ signalBloodPumpHardStop(); signalDialInPumpHardStop(); signalDialOutPumpHardStop(); + stopSyringePump(); + // Stop trimmer heater + cmdStopDGTrimmerHeater(); // Ensure all valves are in safe position setValveAirTrap( STATE_CLOSED ); setValvePosition( VDI, VALVE_POSITION_C_CLOSE ); @@ -136,7 +141,7 @@ button_state = stop; #endif - return 0; // TODO - return current state + return 0; // Fault mode has no sub-modes } /*********************************************************************//**