Hitec: new sub_protocol to support forward telemetry

OPT_FW (0) : OPTIMA + forward telemetry packets to TX to be decoded
OPT_HUB (1) : OPTIMA + basic telemetry using FrSky Hub format
MINIMA (2) : Minima/Micro/RED
This commit is contained in:
Pascal Langer
2018-08-09 19:51:07 +02:00
parent eb89b5be1b
commit 2f5252ab88
5 changed files with 48 additions and 40 deletions

View File

@@ -217,9 +217,6 @@
#undef HITEC_HUB_TELEMETRY
#undef HITEC_FW_TELEMETRY
#endif
#if defined(HITEC_HUB_TELEMETRY) && defined(HITEC_FW_TELEMETRY)
#error You need to choose between HITEC HUB or HITEC FW telemetry but not both.
#endif
#if not defined(FRSKYD_CC2500_INO)
#undef HUB_TELEMETRY
#endif