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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user