forked from Imagelibrary/rtems
promote TOD_MICROSECONDS_TO_TICKS through API as RTEMS_MICROSECONDS_PER_TICK.
This commit is contained in:
@@ -84,6 +84,8 @@ extern "C" {
|
|||||||
TOD_MILLISECONDS_TO_MICROSECONDS(_ms)
|
TOD_MILLISECONDS_TO_MICROSECONDS(_ms)
|
||||||
#define RTEMS_MILLISECONDS_TO_TICKS(_ms) \
|
#define RTEMS_MILLISECONDS_TO_TICKS(_ms) \
|
||||||
TOD_MILLISECONDS_TO_TICKS(_ms)
|
TOD_MILLISECONDS_TO_TICKS(_ms)
|
||||||
|
#define RTEMS_MICROSECONDS_TO_TICKS(_ms) \
|
||||||
|
TOD_MICROSECONDS_TO_TICKS(_ms)
|
||||||
|
|
||||||
#ifndef __RTEMS_APPLICATION__
|
#ifndef __RTEMS_APPLICATION__
|
||||||
#include <rtems/rtems/support.inl>
|
#include <rtems/rtems/support.inl>
|
||||||
|
|||||||
@@ -84,6 +84,8 @@ extern "C" {
|
|||||||
TOD_MILLISECONDS_TO_MICROSECONDS(_ms)
|
TOD_MILLISECONDS_TO_MICROSECONDS(_ms)
|
||||||
#define RTEMS_MILLISECONDS_TO_TICKS(_ms) \
|
#define RTEMS_MILLISECONDS_TO_TICKS(_ms) \
|
||||||
TOD_MILLISECONDS_TO_TICKS(_ms)
|
TOD_MILLISECONDS_TO_TICKS(_ms)
|
||||||
|
#define RTEMS_MICROSECONDS_TO_TICKS(_ms) \
|
||||||
|
TOD_MICROSECONDS_TO_TICKS(_ms)
|
||||||
|
|
||||||
#ifndef __RTEMS_APPLICATION__
|
#ifndef __RTEMS_APPLICATION__
|
||||||
#include <rtems/rtems/support.inl>
|
#include <rtems/rtems/support.inl>
|
||||||
|
|||||||
@@ -84,6 +84,8 @@ extern "C" {
|
|||||||
TOD_MILLISECONDS_TO_MICROSECONDS(_ms)
|
TOD_MILLISECONDS_TO_MICROSECONDS(_ms)
|
||||||
#define RTEMS_MILLISECONDS_TO_TICKS(_ms) \
|
#define RTEMS_MILLISECONDS_TO_TICKS(_ms) \
|
||||||
TOD_MILLISECONDS_TO_TICKS(_ms)
|
TOD_MILLISECONDS_TO_TICKS(_ms)
|
||||||
|
#define RTEMS_MICROSECONDS_TO_TICKS(_ms) \
|
||||||
|
TOD_MICROSECONDS_TO_TICKS(_ms)
|
||||||
|
|
||||||
#ifndef __RTEMS_APPLICATION__
|
#ifndef __RTEMS_APPLICATION__
|
||||||
#include <rtems/rtems/support.inl>
|
#include <rtems/rtems/support.inl>
|
||||||
|
|||||||
Reference in New Issue
Block a user