From d6a54910b470d1ee173533e00839dbec88114c05 Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Mon, 3 May 2021 13:06:46 -0700 Subject: [PATCH] av_x-v1: Initalize PWM as input with Pull Downs --- boards/av/x-v1/src/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/av/x-v1/src/init.c b/boards/av/x-v1/src/init.c index 68fc740ed8..ff9bb079cd 100644 --- a/boards/av/x-v1/src/init.c +++ b/boards/av/x-v1/src/init.c @@ -90,7 +90,7 @@ static int configure_switch(void); __EXPORT void board_on_reset(int status) { for (int i = 0; i < DIRECT_PWM_OUTPUT_CHANNELS; ++i) { - px4_arch_configgpio(PX4_MAKE_GPIO_INPUT(io_timer_channel_get_as_pwm_input(i))); + px4_arch_configgpio(PX4_MAKE_GPIO_INPUT_PULL_DOWN(io_timer_channel_get_as_pwm_input(i))); } if (status >= 0) {