From c161216d44f23610b6c459196ad0788b4f6708f9 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 24 Jun 2020 10:43:22 +0200 Subject: rtems: From to Move type related definition to . The goal is to make an include only header file. --- cpukit/include/rtems/rtems/types.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cpukit/include/rtems/rtems/types.h') diff --git a/cpukit/include/rtems/rtems/types.h b/cpukit/include/rtems/rtems/types.h index e5dd1afc3b..5ce3eb6604 100644 --- a/cpukit/include/rtems/rtems/types.h +++ b/cpukit/include/rtems/rtems/types.h @@ -85,6 +85,13 @@ typedef CPU_Interrupt_frame rtems_interrupt_frame; */ typedef Watchdog_Interval rtems_interval; +/** + * @brief Constant for indefinite wait. + * + * This is actually an illegal interval value. + */ +#define RTEMS_NO_TIMEOUT ((rtems_interval) WATCHDOG_NO_TIMEOUT) + /** * @brief Data structure to manage and manipulate calendar * @ref ClassicRTEMSSecTime "time". -- cgit v1.2.3