1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00

Prevent hard-fault when no IO available for transponder.

This cleans up the transponder api too.
This commit is contained in:
Hydra 2017-01-16 19:27:20 +00:00
parent b7caf6f85e
commit 3c29725672
6 changed files with 21 additions and 21 deletions

View file

@ -30,7 +30,7 @@
#define BIT_TOGGLE_1 78 // (156 / 2)
#define BIT_TOGGLE_0 0
void transponderIrInit();
bool transponderIrInit();
void transponderIrDisable(void);
void transponderIrHardwareInit(ioTag_t ioTag);