Skip to content

Commit a9fe6e0

Browse files
committed
add another assert
1 parent efa800b commit a9fe6e0

File tree

1 file changed

+1
-0
lines changed
  • src/rp2_common/hardware_pio/include/hardware

1 file changed

+1
-0
lines changed

src/rp2_common/hardware_pio/include/hardware/pio.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ static_assert(DREQ_PIO0_TX1 == DREQ_PIO0_TX0 + 1, "");
214214
static_assert(DREQ_PIO0_TX2 == DREQ_PIO0_TX0 + 2, "");
215215
static_assert(DREQ_PIO0_TX3 == DREQ_PIO0_TX0 + 3, "");
216216
static_assert(DREQ_PIO0_RX0 == DREQ_PIO0_TX0 + NUM_PIO_STATE_MACHINES, "");
217+
static_assert(DREQ_PIO1_TX0 == DREQ_PIO0_RX0 + NUM_PIO_STATE_MACHINES, "");
217218
static_assert(DREQ_PIO1_RX0 == DREQ_PIO1_TX0 + NUM_PIO_STATE_MACHINES, "");
218219
#if NUM_PIOS > 2
219220
static_assert(DREQ_PIO2_TX0 == DREQ_PIO1_RX0 + NUM_PIO_STATE_MACHINES, "");

0 commit comments

Comments
 (0)