Index: firmware/App/Modes/ModeStandby.c =================================================================== diff -u -r7ed011e79e1338f614cbcc7d3cedf07d359196b7 -rd3819286869611f9c02add72a0f8e321598fdf42 --- firmware/App/Modes/ModeStandby.c (.../ModeStandby.c) (revision 7ed011e79e1338f614cbcc7d3cedf07d359196b7) +++ firmware/App/Modes/ModeStandby.c (.../ModeStandby.c) (revision d3819286869611f9c02add72a0f8e321598fdf42) @@ -64,7 +64,6 @@ static DG_STANDBY_MODE_STATE_T handleStandbyFlushFilterState( void ); static DG_STANDBY_MODE_STATE_T handleStandbyFlushFilterIdleState( void ); static DG_STANDBY_MODE_STATE_T handleStandbySampleWaterState( void ); -static U32 getFilterFlushTimePeriod( void ); /*********************************************************************//** * @brief @@ -189,7 +188,7 @@ static DG_STANDBY_MODE_STATE_T handleStandbyFlushFilterState( void ) { DG_STANDBY_MODE_STATE_T state = DG_STANDBY_MODE_STATE_FLUSH_FILTER; - U32 const filterFlushTimePeriod_ms = getFilterFlushTimePeriod(); + U32 const filterFlushTimePeriod_ms = getU32OverrideValue( &filterFlushTimePeriod ); checkInletPressure(); @@ -437,26 +436,7 @@ return standbyState; } -/*********************************************************************//** - * @brief - * The getFilterFlushTimePeriod function gets the filter flush time period. - * @details Inputs: filterFlushTimePeriod - * @details Outputs: none - * @return the current filter flush time period (in ms). - *************************************************************************/ -static U32 getFilterFlushTimePeriod( void ) -{ - U32 result = filterFlushTimePeriod.data; - if ( OVERRIDE_KEY == filterFlushTimePeriod.override ) - { - result = filterFlushTimePeriod.ovData; - } - - return result; -} - - /************************************************************************* * TEST SUPPORT FUNCTIONS *************************************************************************/