From 4f8c1ccfe863c3bf570a42f6403413919e09a3d9 Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Mon, 3 May 2021 13:06:51 -0700 Subject: [PATCH] px4_fmu-v6u: Initalize PWM as input with Pull Downs --- boards/px4/fmu-v6u/src/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/px4/fmu-v6u/src/init.c b/boards/px4/fmu-v6u/src/init.c index b835ca2d4c..300d8c3d11 100644 --- a/boards/px4/fmu-v6u/src/init.c +++ b/boards/px4/fmu-v6u/src/init.c @@ -140,7 +140,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) {