We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be2174b commit 3e24400Copy full SHA for 3e24400
libraries/PDM/src/rp2040/pdm.pio.h
@@ -54,7 +54,7 @@ static inline void pdm_pio_program_init(PIO pio, uint sm, uint offset, uint clkP
54
pio_sm_set_consecutive_pindirs(pio, sm, dataPin, 1, false);
55
pio_sm_set_consecutive_pindirs(pio, sm, clkPin, 1, true);
56
pio_sm_set_pins_with_mask(pio, sm, 0, (1u << clkPin));
57
- //pio_gpio_init(pio, dataPin);
+ pio_gpio_init(pio, dataPin);
58
pio_gpio_init(pio, clkPin);
59
pio_sm_init(pio, sm, offset, &c);
60
pio_sm_set_enabled(pio, sm, true);
0 commit comments