holybro/durandal-v1: add capture pins to list of pwm pins

This commit is contained in:
Beat Küng
2021-09-17 14:49:01 +02:00
committed by Daniel Agar
parent 0ab4a24de8
commit d9bf03b2dc
3 changed files with 14 additions and 51 deletions
@@ -39,6 +39,8 @@
#include <px4_platform/io_timer_init.h>
#include <stm32_tim.h>
#define initIOTimerChannelCapture initIOTimerChannel // alias, used for param metadata generation
static inline constexpr timer_io_channels_t initIOTimerGPIOInOut(Timer::TimerChannel timer, GPIO::GPIOPin pin)
{
timer_io_channels_t ret{};