From 286deccd1280b0d66ccc6d9b2617719582607f0d Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Thu, 12 Oct 2017 08:37:47 +0000 Subject: EXPERIMENTAL: Introduced sysinterval_t in RT, now system time and intervals are different types and could have different sizes. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/rt5_dev_point1@10812 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/osal/rt/osal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/hal/osal') diff --git a/os/hal/osal/rt/osal.h b/os/hal/osal/rt/osal.h index c99b4c92a..727cea623 100644 --- a/os/hal/osal/rt/osal.h +++ b/os/hal/osal/rt/osal.h @@ -321,7 +321,7 @@ typedef struct { * * @api */ -#define OSAL_MS2ST(msec) MS2ST(msec) +#define OSAL_MS2ST(msec) TIME_MS2I(msec) /** * @brief Microseconds to system ticks. @@ -333,7 +333,7 @@ typedef struct { * * @api */ -#define OSAL_US2ST(usec) US2ST(usec) +#define OSAL_US2ST(usec) TIME_US2I(usec) /** @} */ /** -- cgit v1.2.3