mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 09:45:21 +03:00
Implement new protocols of Multimodule (SFHSS and D16 8ch)
This commit is contained in:
parent
f99e792dea
commit
80b406b8d9
16 changed files with 105 additions and 46 deletions
|
@ -138,11 +138,17 @@ void setupPulsesMultimodule(unsigned int port)
|
|||
type= type +1;
|
||||
|
||||
if (g_model.moduleData[port].multi.rfProtocol == MM_RF_PROTO_FRSKY) {
|
||||
if(subtype == 1)
|
||||
if(subtype == 1) {
|
||||
//D8
|
||||
type = 3;
|
||||
else
|
||||
subtype = 0;
|
||||
} else {
|
||||
type = 15;
|
||||
subtype = 0;
|
||||
if (subtype==2) // D16 8ch
|
||||
subtype=1;
|
||||
else
|
||||
subtype=0; // D16
|
||||
}
|
||||
}
|
||||
|
||||
if (g_model.moduleData[port].multi.rfProtocol >= MM_RF_PROTO_CUSTOM)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue