mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 09:45:21 +03:00
Telemetry on MULTI default to FrSky Hub telemetry, not smartport
This commit is contained in:
parent
e1a60b801a
commit
17adab3177
4 changed files with 49 additions and 10 deletions
|
@ -136,17 +136,17 @@ void setupPulsesMultimodule(uint8_t port)
|
|||
type = type + 1;
|
||||
|
||||
if (g_model.moduleData[port].multi.rfProtocol == MM_RF_PROTO_FRSKY) {
|
||||
if(subtype == 1) {
|
||||
if(subtype == MM_RF_FRSKY_SUBTYPE_D8) {
|
||||
//D8
|
||||
type = 3;
|
||||
subtype = 0;
|
||||
} else if (subtype == 3) {
|
||||
//LR12
|
||||
} else if (subtype == MM_RF_FRSKY_SUBTYPE_V8) {
|
||||
//V8
|
||||
type = 25;
|
||||
subtype = 0;
|
||||
} else {
|
||||
type = 15;
|
||||
if (subtype == 2) // D16 8ch
|
||||
if (subtype == MM_RF_FRSKY_SUBTYPE_D16_8CH) // D16 8ch
|
||||
subtype = 1;
|
||||
else
|
||||
subtype = 0; // D16
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue