Revert:Pull downs - bad levels cause motor spins

This commit is contained in:
David Sidrane
2021-06-01 08:07:24 -07:00
committed by Daniel Agar
parent dfa5964719
commit 32e92ba817
25 changed files with 24 additions and 27 deletions

View File

@@ -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_PULL_DOWN(io_timer_channel_get_as_pwm_input(i)));
px4_arch_configgpio(PX4_MAKE_GPIO_INPUT(io_timer_channel_get_as_pwm_input(i)));
}
if (status >= 0) {