Skip to content

Commit

Permalink
fix build with sdk 1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed Aug 9, 2024
1 parent 9157090 commit 3028ad4
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions src/usb_rx.pio.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

#define usb_edge_detector_wrap_target 3
#define usb_edge_detector_wrap 9
#define usb_edge_detector_pio_version 0

static const uint16_t usb_edge_detector_program_instructions[] = {
0xc022, // 0: irq wait 2
Expand Down Expand Up @@ -48,10 +47,6 @@ static const struct pio_program usb_edge_detector_program = {
.instructions = usb_edge_detector_program_instructions,
.length = 17,
.origin = -1,
.pio_version = 0,
#if PICO_PIO_VERSION > 0
.used_gpio_ranges = 0x0
#endif
};

static inline pio_sm_config usb_edge_detector_program_get_default_config(uint offset) {
Expand All @@ -67,7 +62,6 @@ static inline pio_sm_config usb_edge_detector_program_get_default_config(uint of

#define usb_edge_detector_debug_wrap_target 3
#define usb_edge_detector_debug_wrap 9
#define usb_edge_detector_debug_pio_version 0

static const uint16_t usb_edge_detector_debug_program_instructions[] = {
0xc022, // 0: irq wait 2 side 0
Expand Down Expand Up @@ -96,10 +90,6 @@ static const struct pio_program usb_edge_detector_debug_program = {
.instructions = usb_edge_detector_debug_program_instructions,
.length = 17,
.origin = -1,
.pio_version = 0,
#if PICO_PIO_VERSION > 0
.used_gpio_ranges = 0x0
#endif
};

static inline pio_sm_config usb_edge_detector_debug_program_get_default_config(uint offset) {
Expand All @@ -116,7 +106,6 @@ static inline pio_sm_config usb_edge_detector_debug_program_get_default_config(u

#define usb_nrzi_decoder_wrap_target 0
#define usb_nrzi_decoder_wrap 6
#define usb_nrzi_decoder_pio_version 0

static const uint16_t usb_nrzi_decoder_program_instructions[] = {
// .wrap_target
Expand All @@ -138,10 +127,6 @@ static const struct pio_program usb_nrzi_decoder_program = {
.instructions = usb_nrzi_decoder_program_instructions,
.length = 10,
.origin = -1,
.pio_version = 0,
#if PICO_PIO_VERSION > 0
.used_gpio_ranges = 0x0
#endif
};

static inline pio_sm_config usb_nrzi_decoder_program_get_default_config(uint offset) {
Expand All @@ -157,7 +142,6 @@ static inline pio_sm_config usb_nrzi_decoder_program_get_default_config(uint off

#define usb_nrzi_decoder_debug_wrap_target 0
#define usb_nrzi_decoder_debug_wrap 6
#define usb_nrzi_decoder_debug_pio_version 0

static const uint16_t usb_nrzi_decoder_debug_program_instructions[] = {
// .wrap_target
Expand All @@ -179,10 +163,6 @@ static const struct pio_program usb_nrzi_decoder_debug_program = {
.instructions = usb_nrzi_decoder_debug_program_instructions,
.length = 10,
.origin = -1,
.pio_version = 0,
#if PICO_PIO_VERSION > 0
.used_gpio_ranges = 0x0
#endif
};

static inline pio_sm_config usb_nrzi_decoder_debug_program_get_default_config(uint offset) {
Expand Down

0 comments on commit 3028ad4

Please sign in to comment.