diff options
Diffstat (limited to 'c/src/exec/score/inline/rtems')
-rw-r--r-- | c/src/exec/score/inline/rtems/score/tod.inl | 6 | ||||
-rw-r--r-- | c/src/exec/score/inline/rtems/score/watchdog.inl | 16 |
2 files changed, 6 insertions, 16 deletions
diff --git a/c/src/exec/score/inline/rtems/score/tod.inl b/c/src/exec/score/inline/rtems/score/tod.inl index d2e26e2f2a..dce8aca426 100644 --- a/c/src/exec/score/inline/rtems/score/tod.inl +++ b/c/src/exec/score/inline/rtems/score/tod.inl @@ -61,11 +61,7 @@ STATIC INLINE void _TOD_Activate( Watchdog_Interval ticks ) { - _Watchdog_Insert_ticks( - &_TOD_Seconds_watchdog, - ticks, - WATCHDOG_ACTIVATE_NOW - ); + _Watchdog_Insert_ticks( &_TOD_Seconds_watchdog, ticks ); } #endif diff --git a/c/src/exec/score/inline/rtems/score/watchdog.inl b/c/src/exec/score/inline/rtems/score/watchdog.inl index bb7edb82ed..ae3717e102 100644 --- a/c/src/exec/score/inline/rtems/score/watchdog.inl +++ b/c/src/exec/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 ); } |