Changed internalModule to gmodel.moduleData[INTERNAL_MODULE].type

This commit is contained in:
Cedric Marzer
2015-05-26 22:46:46 +02:00
parent e8e8daff11
commit 2d7330d1bb
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ void setupPulses(unsigned int port)
#if defined(PCBTARANIS)
case INTERNAL_MODULE:
#if defined(TARANIS_INTERNAL_PPM)
switch (g_model.internalModule) {
switch (g_model.moduleData[INTERNAL_MODULE].type) {
case MODULE_TYPE_PPM:
required_protocol = PROTO_PPM;
break;