Index: firmware/App/Modes/TreatmentStop.h =================================================================== diff -u -rc65ad0538ff99c3e13d7d7866ac15e38a1ef6002 -r8bd1ae47aa13a843aa8abd6321ddc050deacb4a6 --- firmware/App/Modes/TreatmentStop.h (.../TreatmentStop.h) (revision c65ad0538ff99c3e13d7d7866ac15e38a1ef6002) +++ firmware/App/Modes/TreatmentStop.h (.../TreatmentStop.h) (revision 8bd1ae47aa13a843aa8abd6321ddc050deacb4a6) @@ -1,17 +1,17 @@ /************************************************************************** * -* Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. +* Copyright (c) 2019-2021 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 TreatmentStop.h +* @file TreatmentStop.h * -* @author (last) Sean Nash -* @date (last) 29-May-2020 +* @author (last) Sean Nash +* @date (last) 10-Aug-2021 * -* @author (original) Sean -* @date (original) 15-Jan-2020 +* @author (original) Sean +* @date (original) 15-Jan-2020 * ***************************************************************************/ @@ -34,6 +34,13 @@ // ********** public definitions ****************** +/// Payload record for treatment stop mode broadcast message +typedef struct +{ + U32 timeout; ///< Blood sitting timeout (in seconds) + U32 countdown; ///< Blood sitting timeout countdown (in seconds) +} TREATMENT_STOP_PAYLOAD_T; + // ********** public function prototypes ********** void initTreatmentStop( void );