mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-25 08:36:08 +08:00
holybro/durandal-v1: add capture pins to list of pwm pins
This commit is contained in:
@@ -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{};
|
||||
|
||||
Reference in New Issue
Block a user