diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-04-10 16:19:48 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-04-13 13:39:26 +0200 |
commit | 54cf0e34c5d6b8be0ce136eac7c4e11c1d487d7f (patch) | |
tree | fb6485f659b1fe4204893e9d442f7e5deda96db3 /cpukit/score/src/watchdog.c | |
parent | score: Split _Watchdog_Adjust() (diff) | |
download | rtems-54cf0e34c5d6b8be0ce136eac7c4e11c1d487d7f.tar.bz2 |
score: Add Watchdog_Header
This type is intended to encapsulate all state to manage a watchdog
chain.
Update #2307.
Diffstat (limited to 'cpukit/score/src/watchdog.c')
-rw-r--r-- | cpukit/score/src/watchdog.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cpukit/score/src/watchdog.c b/cpukit/score/src/watchdog.c index 4b093d52e1..0db60efe6b 100644 --- a/cpukit/score/src/watchdog.c +++ b/cpukit/score/src/watchdog.c @@ -21,8 +21,6 @@ #include "config.h" #endif -#include <rtems/system.h> -#include <rtems/score/isr.h> #include <rtems/score/watchdogimpl.h> void _Watchdog_Handler_initialization( void ) @@ -31,6 +29,6 @@ void _Watchdog_Handler_initialization( void ) _Watchdog_Sync_level = 0; _Watchdog_Ticks_since_boot = 0; - _Chain_Initialize_empty( &_Watchdog_Ticks_chain ); - _Chain_Initialize_empty( &_Watchdog_Seconds_chain ); + _Watchdog_Header_initialize( &_Watchdog_Ticks_header ); + _Watchdog_Header_initialize( &_Watchdog_Seconds_header ); } |