px4_fmu-v6u: Initalize PWM as input with Pull Downs

This commit is contained in:
David Sidrane 2021-05-03 13:06:51 -07:00 committed by Lorenz Meier
parent 7dd57d55f6
commit 4f8c1ccfe8
1 changed files with 1 additions and 1 deletions

View File

@ -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) {