Index: firmware/App/Controllers/PresOccl.c =================================================================== diff -u -r4cb7ce68f0458ecca1ba1fbb596bc26a4bc39226 -r28310e94db333fdc125918afa74d212b511e2425 --- firmware/App/Controllers/PresOccl.c (.../PresOccl.c) (revision 4cb7ce68f0458ecca1ba1fbb596bc26a4bc39226) +++ firmware/App/Controllers/PresOccl.c (.../PresOccl.c) (revision 28310e94db333fdc125918afa74d212b511e2425) @@ -87,6 +87,7 @@ #define PSI_TO_MMHG ( 51.7149F ) ///< Conversion factor for converting PSI to mmHg. +// The new arterial pressure sensor is the same as the venous pressure sensor #define VENOUS_PRESSURE_NORMAL_OP 0 ///< Venous pressure status bits indicate normal operation. #define VENOUS_PRESSURE_CMD_MODE 1 ///< Venous pressure status bits indicate sensor in command mode. #define VENOUS_PRESSURE_STALE_DATA 2 ///< Venous pressure status bits indicate data is stale (no new data since last fpga read). @@ -938,7 +939,6 @@ } } } - // Check for occlusion in Treatment modes where pumps are moving else if ( MODE_TREA == hdMode ) { Index: firmware/App/Modes/ModeStandby.c =================================================================== diff -u -r2f68e3a96bb03d12141a84f1da6df83e66fed72d -r28310e94db333fdc125918afa74d212b511e2425 --- firmware/App/Modes/ModeStandby.c (.../ModeStandby.c) (revision 2f68e3a96bb03d12141a84f1da6df83e66fed72d) +++ firmware/App/Modes/ModeStandby.c (.../ModeStandby.c) (revision 28310e94db333fdc125918afa74d212b511e2425) @@ -76,6 +76,9 @@ /// Interval (in task intervals) at which to publish standby mode data to CAN bus. static OVERRIDE_U32_T standbyModePublishInterval = { DISINFECTS_DATA_PUB_INTERVAL, DISINFECTS_DATA_PUB_INTERVAL, DISINFECTS_DATA_PUB_INTERVAL, 0 }; +static const U32 SERVICE_TIME_INTERVAL_S = (U32)( 365 * 0.5 * SECONDS_IN_A_DAY ); ///< HD/DG 6-month service interval in seconds. +static BOOL homingInitiated; ///< Flag indicates actuator homing has been initiated from standby mode. + // ********** private function prototypes ********** static HD_STANDBY_STATE_T handleStandbyModeStartState( void );