diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-20 15:35:14 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-24 09:37:28 +0200 |
commit | cea5ff700166a24b5da300cf0aa6884164600ed3 (patch) | |
tree | fc36240554ec8c1da94dfe58bb414aea4fc870e2 /cpukit/score/include/rtems | |
parent | score: _Watchdog_Is_far_future_monotonic_timespec (diff) | |
download | rtems-cea5ff700166a24b5da300cf0aa6884164600ed3.tar.bz2 |
score: Add _Watchdog_Nanoseconds_per_tick
Move it from the configuration to a separate variable.
Update #3117.
Update #3182.
Diffstat (limited to 'cpukit/score/include/rtems')
-rw-r--r-- | cpukit/score/include/rtems/score/watchdog.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/watchdog.h b/cpukit/score/include/rtems/score/watchdog.h index 8c3710334b..a379bf7a23 100644 --- a/cpukit/score/include/rtems/score/watchdog.h +++ b/cpukit/score/include/rtems/score/watchdog.h @@ -159,6 +159,14 @@ struct Watchdog_Control { extern volatile Watchdog_Interval _Watchdog_Ticks_since_boot; /** + * @brief The watchdog nanoseconds per tick. + * + * This constant is defined by the application configuration via + * <rtems/confdefs.h>. + */ +extern const uint32_t _Watchdog_Nanoseconds_per_tick; + +/** * @brief The watchdog ticks per second. * * This constant is defined by the application configuration via |