Moved 'rtx.h' out of 'interfaces' folder, since it now becomes a cross-platform component

This commit is contained in:
Silvano Seva 2021-01-29 20:35:48 +01:00
parent 2fee6d0d06
commit 1840c1aeb5
4 changed files with 20 additions and 18 deletions

View File

@ -23,8 +23,8 @@
#include <stdint.h>
#include <stdbool.h>
#include <interfaces/rtx.h>
#include <datatypes.h>
#include <rtx.h>
/**
* \enum admit_t Enumeration type defining the admission criteria to a the

View File

@ -49,7 +49,7 @@ typedef struct
rtxStatus_t;
/**
* \enum bandwidth Enumeration type defining the bandwidth of the channel.
* \enum bandwidth Enumeration type defining the current rtx bandwidth.
*/
enum bandwidth
{
@ -59,8 +59,7 @@ enum bandwidth
};
/**
* \enum opmode Enumeration type defining the operating mode associated to each
* channel.
* \enum opmode Enumeration type defining the current rtx operating mode.
*/
enum opmode
{
@ -68,6 +67,9 @@ enum opmode
DMR = 1 /**< DMR */
};
/**
* \enum opstatus Enumeration type defining the current rtx operating status.
*/
enum opstatus
{
OFF = 0, /**< OFF */

View File

@ -28,7 +28,7 @@
#include <interfaces/platform.h>
#include <hwconfig.h>
#include <event.h>
#include <interfaces/rtx.h>
#include <rtx.h>
/* Mutex for concurrent access to state variable */
static OS_MUTEX state_mutex;

View File

@ -64,7 +64,7 @@
#include <stdio.h>
#include <stdint.h>
#include <ui.h>
#include <interfaces/rtx.h>
#include <rtx.h>
#include <interfaces/platform.h>
#include <interfaces/nvmem.h>
#include <string.h>