Closed squarecode closed 7 years ago
Hello! I had a minor issue while inverting the ppm output on the stm32f1 arch. Line 83 in hal_ppm.c has to be modified from #if ... to #ifdef ...
`
tim_oc_init.TIM_OCMode = TIM_OCMode_PWM2;
tim_oc_init.TIM_OCMode=TIM_OCMode_PWM1;
Thanks for the otherwise very nice Code!
Hello! I had a minor issue while inverting the ppm output on the stm32f1 arch. Line 83 in hal_ppm.c has to be modified from #if ... to #ifdef ...
`
if PPM_INVERTED
tim_oc_init.TIM_OCMode = TIM_OCMode_PWM2;
else
tim_oc_init.TIM_OCMode=TIM_OCMode_PWM1;
endif // PPM_INVERTED
`
Thanks for the otherwise very nice Code!