Skip to content

Commit

Permalink
Fix pio headers that are used in SDK docs (#581)
Browse files Browse the repository at this point in the history
The PIO version in no longer hard coded.
  • Loading branch information
peterharperuk authored Nov 23, 2024
1 parent 80a3acd commit b7ff2e9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pio/squarewave/generated/squarewave.pio.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ static const struct pio_program squarewave_program = {
.instructions = squarewave_program_instructions,
.length = 4,
.origin = -1,
.pio_version = 0,
.pio_version = squarewave_pio_version,
#if PICO_PIO_VERSION > 0
.used_gpio_ranges = 0x0
#endif
Expand Down
2 changes: 1 addition & 1 deletion pio/squarewave/generated/squarewave_wrap.pio.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ static const struct pio_program squarewave_wrap_program = {
.instructions = squarewave_wrap_program_instructions,
.length = 3,
.origin = -1,
.pio_version = 0,
.pio_version = squarewave_wrap_pio_version,
#if PICO_PIO_VERSION > 0
.used_gpio_ranges = 0x0
#endif
Expand Down
4 changes: 2 additions & 2 deletions pio/ws2812/generated/ws2812.pio.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ static const struct pio_program ws2812_program = {
.instructions = ws2812_program_instructions,
.length = 4,
.origin = -1,
.pio_version = 0,
.pio_version = ws2812_pio_version,
#if PICO_PIO_VERSION > 0
.used_gpio_ranges = 0x0
#endif
Expand Down Expand Up @@ -90,7 +90,7 @@ static const struct pio_program ws2812_parallel_program = {
.instructions = ws2812_parallel_program_instructions,
.length = 4,
.origin = -1,
.pio_version = 0,
.pio_version = ws2812_parallel_pio_version,
#if PICO_PIO_VERSION > 0
.used_gpio_ranges = 0x0
#endif
Expand Down

0 comments on commit b7ff2e9

Please sign in to comment.