1
0
Fork 0
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:
Arne Schwabe 2016-04-10 19:18:10 +02:00
parent f99e792dea
commit 80b406b8d9
16 changed files with 105 additions and 46 deletions

View file

@ -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)