Skip to content

Commit 0a14a34

Browse files
committed
Remove pio_sm_set_jmp_pin Pico SDK 2 has it
1 parent fe3b1e2 commit 0a14a34

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/usb_rx.pio.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,6 @@ static inline pio_sm_config usb_nrzi_decoder_debug_program_get_default_config(ui
173173
}
174174

175175
#include "hardware/clocks.h"
176-
static __always_inline void pio_sm_set_jmp_pin(PIO pio, uint sm, uint jmp_pin) {
177-
pio->sm[sm].execctrl =
178-
(pio->sm[sm].execctrl & ~PIO_SM0_EXECCTRL_JMP_PIN_BITS) |
179-
(jmp_pin << PIO_SM0_EXECCTRL_JMP_PIN_LSB);
180-
}
181176
static inline void usb_rx_fs_program_init(PIO pio, uint sm, uint offset, uint pin_dp, uint pin_dm, int pin_debug) {
182177
if (pin_dp < pin_dm) {
183178
pio_sm_set_consecutive_pindirs(pio, sm, pin_dp, 2, false);

0 commit comments

Comments
 (0)