@@ -182,8 +182,8 @@ static inline void usb_rx_fs_program_init(PIO pio, uint sm, uint offset, uint pi
182182 } else {
183183 c = usb_nrzi_decoder_debug_program_get_default_config(offset);
184184
185- pio_sm_set_pins_with_mask (pio, sm, 0, 1 << pin_debug);
186- pio_sm_set_pindirs_with_mask (pio, sm, 1 << pin_debug, 1 << pin_debug);
185+ pio_sm_set_pins_with_mask64 (pio, sm, 0, 1ull << pin_debug);
186+ pio_sm_set_pindirs_with_mask64 (pio, sm, 1ull << pin_debug, 1ull << pin_debug);
187187 pio_gpio_init(pio, pin_debug);
188188 sm_config_set_sideset_pins(&c, pin_debug);
189189 }
@@ -208,8 +208,8 @@ static inline void eop_detect_fs_program_init(PIO pio, uint sm, uint offset,
208208 c = usb_edge_detector_program_get_default_config(offset);
209209 } else {
210210 c = usb_edge_detector_debug_program_get_default_config(offset);
211- pio_sm_set_pins_with_mask (pio, sm, 0, 1 << pin_debug);
212- pio_sm_set_pindirs_with_mask (pio, sm, 1 << pin_debug, 1 << pin_debug);
211+ pio_sm_set_pins_with_mask64 (pio, sm, 0, 1ull << pin_debug);
212+ pio_sm_set_pindirs_with_mask64 (pio, sm, 1ull << pin_debug, 1ull << pin_debug);
213213 pio_gpio_init(pio, pin_debug);
214214 sm_config_set_sideset_pins(&c, pin_debug);
215215 }
@@ -232,4 +232,4 @@ static inline void eop_detect_fs_program_init(PIO pio, uint sm, uint offset,
232232 pio_sm_set_enabled(pio, sm, true);
233233}
234234
235- %}
235+ %}
0 commit comments