Fixed PPM driver

This commit is contained in:
Raphael Coeffic
2022-03-20 16:22:12 +01:00
parent d9d10f2743
commit fa8b41d12b
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -371,7 +371,7 @@ extern "C" void EXTMODULE_TIMER_IRQHandler()
EXTMODULE_TIMER->DIER &= ~TIM_DIER_CC2IE; // Stop this interrupt
EXTMODULE_TIMER->SR &= ~TIM_SR_CC2IF;
setupPulsesPPMExternalModule();
setupPulsesExternalModule();
extmoduleSendNextFramePpm(
extmodulePulsesData.ppm.pulses,
extmodulePulsesData.ppm.ptr - extmodulePulsesData.ppm.pulses,