forked from Archive/PX4-Autopilot
mro_ctrl-zero-f7-oem: Initalize PWM as input with Pull Downs
This commit is contained in:
parent
310d166899
commit
867aa9d4bc
|
@ -128,7 +128,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) {
|
||||
|
|
Loading…
Reference in New Issue