Special EU firmware for Taranis

Only D16 mode is EU-compatible. This version will hide both D8 and LR12
modes.
This commit is contained in:
bsongis
2015-06-28 15:33:42 +02:00
parent 7312bd2655
commit 688cd9f724
4 changed files with 54 additions and 33 deletions
+10
View File
@@ -2017,11 +2017,21 @@ enum Protocols {
enum RFProtocols {
RF_PROTO_OFF = -1,
RF_PROTO_X16,
#if defined(MODULE_D16_EU_ONLY_SUPPORT)
RF_PROTO_LAST = RF_PROTO_X16
#else
RF_PROTO_D8,
RF_PROTO_LR12,
RF_PROTO_LAST = RF_PROTO_LR12
#endif
};
#if defined(MODULE_D16_EU_ONLY_SUPPORT)
#define HAS_RF_PROTOCOL_FAILSAFE(protocol) ((protocol) == RF_PROTO_X16)
#else
#define HAS_RF_PROTOCOL_FAILSAFE(protocol) ((protocol) == RF_PROTO_X16 || (protocol) == RF_PROTO_LR12)
#endif
enum DSM2Protocols {
DSM2_PROTO_LP45,
DSM2_PROTO_DSM2,