Index: firmware/App/Modes/ModePreTreat.h =================================================================== diff -u -rc199cb4ae8b8ec123607b43c2f650964ef26ecf0 -rcd5be724d5a3ba7457e761191d82f278654d7f5c --- firmware/App/Modes/ModePreTreat.h (.../ModePreTreat.h) (revision c199cb4ae8b8ec123607b43c2f650964ef26ecf0) +++ firmware/App/Modes/ModePreTreat.h (.../ModePreTreat.h) (revision cd5be724d5a3ba7457e761191d82f278654d7f5c) @@ -1,14 +1,14 @@ /************************************************************************** * -* Copyright (c) 2019-2022 Diality Inc. - All Rights Reserved. +* Copyright (c) 2019-2024 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * @file ModePreTreat.h * -* @author (last) Michael Garthwaite -* @date (last) 24-Aug-2022 +* @author (last) Sean Nash +* @date (last) 01-Sep-2023 * * @author (original) Dara Navaei * @date (original) 05-Nov-2019 @@ -48,12 +48,6 @@ U32 preTreatmentRsrvrState; ///< Current pre-treatment reservoir state } PRE_TREATMENT_STATE_DATA_T; -typedef struct -{ - BOOL startFlushFill; - BOOL startNormalFill; -} PRE_TREATMENT_RESERVOIR_FLAGS_T; - // ********** public function prototypes ********** void initPreTreatmentMode( void ); // Initialize this module @@ -65,7 +59,9 @@ void setUserSetUFVolumeStatus( BOOL status ); // Set status that indicates UF volume setting has been set void signalUserConfirmPatientConnection( void ); // Signal that user confirms patient connection has been completed void signalUserStartTreatment( void ); // Signal that user requests to start treatment -void signalActionToResumeFill( void ); // Signal that indicates the HD to resume filling reservoirs +void signalAllowDGFlushFills( void ); // Signal that indicates the HD may begin flush fills at DG +void signalAllowDGFillRes1( void ); // Signal that indicates the HD may begin filling reservoir 1 (after flushes completed) +void signalAllowDGFillRes2( void ); // Signal that indicates the HD may begin filling reservoir 2 (after flushes completed) void signalAlarmActionToPreTreatmentMode( ALARM_ACTION_T action ); // Execute alarm action as appropriate for pre-treatment mode