Avoid PIO input_sync_bypass
This commit is contained in:
parent
71c8ceb8bb
commit
25c1e608e3
|
@ -124,7 +124,6 @@ static void bias_init(int in_pin, int out_pin)
|
|||
|
||||
pio_gpio_init(pio1, out_pin);
|
||||
|
||||
pio1->input_sync_bypass = 1u << in_pin;
|
||||
gpio_set_input_hysteresis_enabled(in_pin, false);
|
||||
gpio_set_drive_strength(out_pin, GPIO_DRIVE_STRENGTH_2MA);
|
||||
gpio_set_slew_rate(out_pin, GPIO_SLEW_RATE_SLOW);
|
||||
|
|
Loading…
Reference in a new issue