1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-22 15:55:48 +03:00

Cherry-pick 0e6e19c (without fc_msp.c)

This commit is contained in:
Hydra 2017-04-01 18:33:18 +01:00 committed by jflyper
parent d8ff795327
commit 72e67a882c
4 changed files with 13 additions and 9 deletions

View file

@ -79,16 +79,17 @@ typedef struct transponder_s {
const struct transponderVTable *vTable;
} transponder_t;
typedef enum TransponderProvider{
typedef enum {
NONE,
ARCITIMER,
ILAP
} TransponderProvider;
} transponderProvider_e;
struct transponderVTable {
void (*updateTransponderDMABuffer)(transponder_t *transponder, const uint8_t* transponderData);
};
bool transponderIrInit(const TransponderProvider* transponderProvider);
bool transponderIrInit(const transponderProvider_e provider);
void transponderIrDisable(void);
void transponderIrHardwareInit(ioTag_t ioTag, transponder_t *transponder);