feat(radio): OS compatibility layer (#5840)
This commit is contained in:
@@ -22,17 +22,13 @@
|
||||
#include "dataconstants.h"
|
||||
#include "edgetx_types.h"
|
||||
|
||||
#include "os/timer.h"
|
||||
|
||||
#include <functional>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
#if !defined(SIMU)
|
||||
// Forward declare FreeRTOS timer
|
||||
struct tmrTimerControl;
|
||||
typedef struct tmrTimerControl * TimerHandle_t;
|
||||
#endif
|
||||
|
||||
class MultiRfProtocols
|
||||
{
|
||||
static MultiRfProtocols* _instance[NUM_MODULES];
|
||||
@@ -51,9 +47,7 @@ class MultiRfProtocols
|
||||
MultiRfProtocols(unsigned int moduleIdx);
|
||||
void fillBuiltinProtos();
|
||||
|
||||
#if !defined(SIMU)
|
||||
static void timerCb(TimerHandle_t xTimer);
|
||||
#endif
|
||||
static void timerCb(timer_handle_t* h);
|
||||
|
||||
public:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user