1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 21:05:35 +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

@ -490,7 +490,6 @@ void init(void)
#ifdef TRANSPONDER
if (feature(FEATURE_TRANSPONDER)) {
transponderInit(masterConfig.transponderData);
transponderEnable();
transponderStartRepeating();
systemState |= SYSTEM_STATE_TRANSPONDER_ENABLED;
}