From cea5ff700166a24b5da300cf0aa6884164600ed3 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 20 Oct 2017 15:35:14 +0200 Subject: score: Add _Watchdog_Nanoseconds_per_tick Move it from the configuration to a separate variable. Update #3117. Update #3182. --- cpukit/score/include/rtems/score/watchdog.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cpukit/score/include/rtems') 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 @@ -158,6 +158,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 + * . + */ +extern const uint32_t _Watchdog_Nanoseconds_per_tick; + /** * @brief The watchdog ticks per second. * -- cgit v1.2.3