#2307 - ModuleData structure modification

This commit is contained in:
bsongis
2015-05-24 08:58:47 +02:00
parent e665f4a176
commit 18ab76718e
10 changed files with 64 additions and 526 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ void setupPulses(unsigned int port)
default:
port = EXTERNAL_MODULE; // ensure it's external module only
switch (g_model.externalModule) {
switch (g_model.moduleData[EXTERNAL_MODULE].type) {
case MODULE_TYPE_PPM:
required_protocol = PROTO_PPM;
break;