mirror of
https://github.com/steve-m/hsdaoh-rp2350.git
synced 2025-12-10 07:44:39 +01:00
ext_adc: fix pin init
This commit is contained in:
parent
fd74049bf4
commit
32f23da176
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ static inline void adc_12bit_input_program_init(PIO pio, uint sm, uint offset, u
|
|||
|
||||
// Connect these GPIOs to this PIO block
|
||||
for (int i = pin; i < (pin+12); i++)
|
||||
pio_gpio_init(pio, pin + i);
|
||||
pio_gpio_init(pio, i);
|
||||
|
||||
sm_config_set_in_shift(
|
||||
&c,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue