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
@@ -106,32 +106,3 @@ void disable_ppm(uint8_t module)
}
#endif
}
void init_no_pulses(uint8_t module)
{
init_module_timer(module, 18, false);
}
void disable_no_pulses(uint8_t module)
{
if (module == INTERNAL_MODULE)
intmoduleStop();
else
extmoduleStop();
}
void init_module_timer(uint8_t module, uint32_t period, uint8_t state)
{
if (module == INTERNAL_MODULE)
intmoduleTimerStart(period, state);
else
extmoduleTimerStart(period, state);
}
void disable_module_timer(uint8_t module)
{
if (module == INTERNAL_MODULE)
intmoduleStop();
else
extmoduleStop();
}