Merge pull request #2290 from opentx/bsongis/issue_2266_set_failsafe_custom_function

Fixes #2266
This commit is contained in:
Bertrand Songis
2015-06-29 22:57:23 +02:00
18 changed files with 35 additions and 20 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ enum ModuleFlag
MODULE_NORMAL_MODE,
MODULE_RANGECHECK,
MODULE_BIND,
MODULE_OFF,
// MODULE_OFF, // will need an EEPROM conversion
};
#if defined(CPUARM) // (PXX) || defined(DSM2)
+3
View File
@@ -110,9 +110,12 @@ void setupPulses(unsigned int port)
required_protocol = PROTO_NONE;
}
#if 0
// will need an EEPROM conversion
if (moduleFlag[port] == MODULE_OFF) {
required_protocol = PROTO_NONE;
}
#endif
if (s_current_protocol[port] != required_protocol) {