diff options
Diffstat (limited to 'cpukit/score/inline/rtems/score/watchdog.inl')
-rw-r--r-- | cpukit/score/inline/rtems/score/watchdog.inl | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/cpukit/score/inline/rtems/score/watchdog.inl b/cpukit/score/inline/rtems/score/watchdog.inl index bb7edb82ed..ae3717e102 100644 --- a/cpukit/score/inline/rtems/score/watchdog.inl +++ b/cpukit/score/inline/rtems/score/watchdog.inl @@ -115,14 +115,13 @@ STATIC INLINE void _Watchdog_Tickle_seconds( void ) STATIC INLINE void _Watchdog_Insert_ticks( Watchdog_Control *the_watchdog, - Watchdog_Interval units, - Watchdog_Insert_modes insert_mode + Watchdog_Interval units ) { the_watchdog->initial = units; - _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog, insert_mode ); + _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog ); } @@ -134,14 +133,13 @@ STATIC INLINE void _Watchdog_Insert_ticks( STATIC INLINE void _Watchdog_Insert_seconds( Watchdog_Control *the_watchdog, - Watchdog_Interval units, - Watchdog_Insert_modes insert_mode + Watchdog_Interval units ) { the_watchdog->initial = units; - _Watchdog_Insert( &_Watchdog_Seconds_chain, the_watchdog, insert_mode ); + _Watchdog_Insert( &_Watchdog_Seconds_chain, the_watchdog ); } @@ -190,11 +188,7 @@ STATIC INLINE void _Watchdog_Reset( (void) _Watchdog_Remove( the_watchdog ); - _Watchdog_Insert( - &_Watchdog_Ticks_chain, - the_watchdog, - WATCHDOG_ACTIVATE_NOW - ); + _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog ); } |