Index: firmware/App/Modes/ModeStandby.c =================================================================== diff -u -rf1157c760b320bf088921a25eb78e973d6341578 -r8126d8e97c5626d71c7b807fa9f95601248d6dbb --- firmware/App/Modes/ModeStandby.c (.../ModeStandby.c) (revision f1157c760b320bf088921a25eb78e973d6341578) +++ firmware/App/Modes/ModeStandby.c (.../ModeStandby.c) (revision 8126d8e97c5626d71c7b807fa9f95601248d6dbb) @@ -75,6 +75,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 );