feat(radio): OS compatibility layer (#5840)

This commit is contained in:
Raphael Coeffic
2025-05-03 19:07:49 +10:00
committed by GitHub
parent c996612b0a
commit ab2a19e153
92 changed files with 1740 additions and 896 deletions
+3 -9
View File
@@ -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: