Moved 'rtx.h' out of 'interfaces' folder, since it now becomes a cross-platform component
This commit is contained in:
parent
2fee6d0d06
commit
1840c1aeb5
|
|
@ -23,8 +23,8 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <interfaces/rtx.h>
|
|
||||||
#include <datatypes.h>
|
#include <datatypes.h>
|
||||||
|
#include <rtx.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \enum admit_t Enumeration type defining the admission criteria to a the
|
* \enum admit_t Enumeration type defining the admission criteria to a the
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ typedef struct
|
||||||
rtxStatus_t;
|
rtxStatus_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \enum bandwidth Enumeration type defining the bandwidth of the channel.
|
* \enum bandwidth Enumeration type defining the current rtx bandwidth.
|
||||||
*/
|
*/
|
||||||
enum bandwidth
|
enum bandwidth
|
||||||
{
|
{
|
||||||
|
|
@ -59,8 +59,7 @@ enum bandwidth
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \enum opmode Enumeration type defining the operating mode associated to each
|
* \enum opmode Enumeration type defining the current rtx operating mode.
|
||||||
* channel.
|
|
||||||
*/
|
*/
|
||||||
enum opmode
|
enum opmode
|
||||||
{
|
{
|
||||||
|
|
@ -68,6 +67,9 @@ enum opmode
|
||||||
DMR = 1 /**< DMR */
|
DMR = 1 /**< DMR */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \enum opstatus Enumeration type defining the current rtx operating status.
|
||||||
|
*/
|
||||||
enum opstatus
|
enum opstatus
|
||||||
{
|
{
|
||||||
OFF = 0, /**< OFF */
|
OFF = 0, /**< OFF */
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
#include <interfaces/platform.h>
|
#include <interfaces/platform.h>
|
||||||
#include <hwconfig.h>
|
#include <hwconfig.h>
|
||||||
#include <event.h>
|
#include <event.h>
|
||||||
#include <interfaces/rtx.h>
|
#include <rtx.h>
|
||||||
|
|
||||||
/* Mutex for concurrent access to state variable */
|
/* Mutex for concurrent access to state variable */
|
||||||
static OS_MUTEX state_mutex;
|
static OS_MUTEX state_mutex;
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <ui.h>
|
#include <ui.h>
|
||||||
#include <interfaces/rtx.h>
|
#include <rtx.h>
|
||||||
#include <interfaces/platform.h>
|
#include <interfaces/platform.h>
|
||||||
#include <interfaces/nvmem.h>
|
#include <interfaces/nvmem.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue