Index: firmware/App/Modes/ModeTreatment.h =================================================================== diff -u -r19476759e215857babf7ae7a69b32fdc08aef3d4 -r0b8a93215a073650631911d190767b7642f09a43 --- firmware/App/Modes/ModeTreatment.h (.../ModeTreatment.h) (revision 19476759e215857babf7ae7a69b32fdc08aef3d4) +++ firmware/App/Modes/ModeTreatment.h (.../ModeTreatment.h) (revision 0b8a93215a073650631911d190767b7642f09a43) @@ -24,7 +24,7 @@ /** * @defgroup HDTreatmentMode HDTreatmentMode - * @brief TreatmentMode module. + * @brief The HDTreatmentMode module manages the treatment mode state machine and treatment related commands and requests. * * @addtogroup HDTreatmentMode * @{ Index: firmware/App/Modes/TreatmentRecirc.c =================================================================== diff -u -r5b859b160a55d1a9d8b732822a63dc570cc46072 -r0b8a93215a073650631911d190767b7642f09a43 --- firmware/App/Modes/TreatmentRecirc.c (.../TreatmentRecirc.c) (revision 5b859b160a55d1a9d8b732822a63dc570cc46072) +++ firmware/App/Modes/TreatmentRecirc.c (.../TreatmentRecirc.c) (revision 0b8a93215a073650631911d190767b7642f09a43) @@ -157,7 +157,7 @@ * and air trap leveling control is stopped. * @return none *************************************************************************/ -static void setupForRinsebackStopOrPause( void ) +static void setupForRecirculationStopState( void ) { // Stop blood pump signalBloodPumpHardStop(); @@ -215,13 +215,13 @@ // Is alarm stop or user reconnect requested? if ( ( TRUE == recircStopRequested ) || ( TRUE == recircReconnectRequested ) ) { - setupForRinsebackStopOrPause(); + setupForRecirculationStopState(); result = TREATMENT_RECIRC_STOPPED_STATE; } // Is end treatment requested? else if ( TRUE == recircEndTreatmentRequested ) { - setupForRinsebackStopOrPause(); + setupForRecirculationStopState(); signalRinsebackToEnd(); // signal end Tx sub-mode } // Has max time in re-circ sub-mode been exceeded? Index: firmware/App/Modes/TreatmentStop.c =================================================================== diff -u -r9ed01b26543fba3b0c2ed78534fb949b778d0355 -r0b8a93215a073650631911d190767b7642f09a43 --- firmware/App/Modes/TreatmentStop.c (.../TreatmentStop.c) (revision 9ed01b26543fba3b0c2ed78534fb949b778d0355) +++ firmware/App/Modes/TreatmentStop.c (.../TreatmentStop.c) (revision 0b8a93215a073650631911d190767b7642f09a43) @@ -16,7 +16,9 @@ ***************************************************************************/ #include "AirTrap.h" +#include "BloodFlow.h" #include "Buttons.h" +#include "DialOutFlow.h" #include "ModeTreatment.h" #include "OperationModes.h" #include "TreatmentStop.h"