Fixes #2266 - SetFailsafe Custom Function. Version without an EEPROM

shift. It removes the ModuleOff function which nobody will need I hope
...
This commit is contained in:
bsongis
2015-06-28 22:28:18 +02:00
parent dab2267e10
commit 55356baea8
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) {