Taranis internal module fix

This commit is contained in:
Bertrand Songis
2019-02-08 11:54:23 +01:00
parent 8c9ba8d1e5
commit aef7a1074f
6 changed files with 10 additions and 109 deletions
+2 -10
View File
@@ -149,7 +149,7 @@ void disablePulses(uint8_t module, uint8_t protocol)
#if defined(CROSSFIRE)
case PROTOCOL_CHANNELS_CROSSFIRE:
disable_module_timer(module);
// TODO disable_module_timer(module);
break;
#endif
@@ -167,10 +167,6 @@ void disablePulses(uint8_t module, uint8_t protocol)
case PROTOCOL_CHANNELS_PPM:
disable_ppm(module);
break;
default:
disable_no_pulses(module);
break;
}
}
@@ -195,7 +191,7 @@ void enablePulses(uint8_t module, uint8_t protocol)
#if defined(CROSSFIRE)
case PROTOCOL_CHANNELS_CROSSFIRE:
init_module_timer(module, CROSSFIRE_PERIOD, true);
// TODO init_module_timer(module, CROSSFIRE_PERIOD, true);
break;
#endif
@@ -216,10 +212,6 @@ void enablePulses(uint8_t module, uint8_t protocol)
case PROTOCOL_CHANNELS_PPM:
init_ppm(module);
break;
default:
init_no_pulses(module);
break;
}
}