Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arch/arm/src/rp2040/rp2040_pio.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ static void hw_claim_clear(uint8_t *bits, uint32_t bit_index)
static int _pio_find_offset_for_program(uint32_t pio,
const rp2040_pio_program_t *program)
{
ASSERT(program->length < PIO_INSTRUCTION_COUNT);
ASSERT(program->length <= PIO_INSTRUCTION_COUNT);
uint32_t used_mask = _used_instruction_space[rp2040_pio_get_index(pio)];
uint32_t program_mask = (1u << program->length) - 1;

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/src/rp23xx/rp23xx_pio.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ static void hw_claim_clear(uint8_t *bits, uint32_t bit_index)
static int _pio_find_offset_for_program(uint32_t pio,
const rp23xx_pio_program_t *program)
{
ASSERT(program->length < PIO_INSTRUCTION_COUNT);
ASSERT(program->length <= PIO_INSTRUCTION_COUNT);
uint32_t used_mask = _used_instruction_space[rp23xx_pio_get_index(pio)];
uint32_t program_mask = (1u << program->length) - 1;

Expand Down
2 changes: 1 addition & 1 deletion arch/risc-v/src/rp23xx-rv/rp23xx_pio.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ static void hw_claim_clear(uint8_t *bits, uint32_t bit_index)
static int _pio_find_offset_for_program(uint32_t pio,
const rp23xx_pio_program_t *program)
{
ASSERT(program->length < PIO_INSTRUCTION_COUNT);
ASSERT(program->length <= PIO_INSTRUCTION_COUNT);
uint32_t used_mask = _used_instruction_space[rp23xx_pio_get_index(pio)];
uint32_t program_mask = (1u << program->length) - 1;

Expand Down
Loading