diff options
Diffstat (limited to 'os/hal/osal/rt/osal.h')
-rw-r--r-- | os/hal/osal/rt/osal.h | 4 |
1 files changed, 2 insertions, 2 deletions
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)
/** @} */
/**
|