Add new protocols supported by the DIY Multi module

This commit is contained in:
Arne Schwabe
2016-09-01 13:09:13 +02:00
parent f97eda2b4f
commit e1a60b801a
18 changed files with 58 additions and 49 deletions
+8
View File
@@ -131,11 +131,19 @@ void setupPulsesMultimodule(uint8_t port)
if (type >= 15)
type = type + 1;
// 23 is again a FrSky protocol so shift again
if (type >= 23)
type = type + 1;
if (g_model.moduleData[port].multi.rfProtocol == MM_RF_PROTO_FRSKY) {
if(subtype == 1) {
//D8
type = 3;
subtype = 0;
} else if (subtype == 3) {
//LR12
type = 25;
subtype = 0;
} else {
type = 15;
if (subtype == 2) // D16 8ch