This commit is contained in:
Bertrand Songis
2019-05-18 23:47:30 +02:00
parent 4c8bbfc584
commit 1a5d62262d
3 changed files with 7 additions and 1 deletions
@@ -105,6 +105,8 @@ void init_second_ppm(uint32_t period)
pwmptr->PWM_CH_NUM[1].PWM_CDTYUPD = GET_MODULE_PPM_DELAY(EXTRA_MODULE)*2; // Duty
pwmptr->PWM_ENA = PWM_ENA_CHID1; // Enable channel 1
pwmptr->PWM_IER1 = PWM_IER1_CHID1;
setExtraModulePolarity();
#endif
}