From 4d4d8ed88771551740a6237b39418671575ddbb1 Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Mon, 3 May 2021 13:06:47 -0700 Subject: [PATCH] cuav_x7pro: Initalize PWM as input with Pull Downs --- boards/cuav/x7pro/src/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/cuav/x7pro/src/init.c b/boards/cuav/x7pro/src/init.c index c9f3b60086..21781a3b0d 100644 --- a/boards/cuav/x7pro/src/init.c +++ b/boards/cuav/x7pro/src/init.c @@ -106,7 +106,7 @@ __EXPORT void board_peripheral_reset(int ms) __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) {