diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-20 15:41:29 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-24 09:37:27 +0200 |
commit | e0dc6efcf0f7d6da2cc0ac08303e1382f6bf4e69 (patch) | |
tree | e71836d7d8b344e94bf291330ad7c8bc3db7e6f6 /cpukit | |
parent | score: Add _Watchdog_Ticks_per_second (diff) | |
download | rtems-e0dc6efcf0f7d6da2cc0ac08303e1382f6bf4e69.tar.bz2 |
rtems: Simplify RTEMS_MILLISECONDS_TO_MICROSECONDS
Remove the cast so that it can be used in C pre-processor directives.
Update #3117.
Update #3182.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/support.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/support.h b/cpukit/rtems/include/rtems/rtems/support.h index 49dc9d88d0..4ebb50cbdf 100644 --- a/cpukit/rtems/include/rtems/rtems/support.h +++ b/cpukit/rtems/include/rtems/rtems/support.h @@ -33,7 +33,7 @@ extern "C" { /** * @brief Returns the number of micro seconds for the milli seconds value @a _ms. */ -#define RTEMS_MILLISECONDS_TO_MICROSECONDS(_ms) ((uint32_t)(_ms) * 1000UL) +#define RTEMS_MILLISECONDS_TO_MICROSECONDS(_ms) ((_ms) * 1000UL) /** * @brief Returns the number of ticks for the milli seconds value @a _ms. |