Skip to content

Commit 5e398e8

Browse files
committed
remove unrelated pio.h change
1 parent e235c8e commit 5e398e8

File tree

1 file changed

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

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,6 @@ 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, "");
217217
static_assert(DREQ_PIO1_RX0 == DREQ_PIO1_TX0 + NUM_PIO_STATE_MACHINES, "");
218-
#if NUM_PIOS > 2
219-
static_assert(DREQ_PIO2_TX0 == DREQ_PIO1_RX0 + NUM_PIO_STATE_MACHINES, "");
220-
static_assert(DREQ_PIO2_RX0 == DREQ_PIO2_TX0 + NUM_PIO_STATE_MACHINES, "");
221-
#endif
222218
#define PIO_DREQ_NUM(pio, sm, is_tx) ((sm) + (((is_tx) ? 0 : NUM_PIO_STATE_MACHINES) + PIO_NUM(pio) * (DREQ_PIO1_TX0 - DREQ_PIO0_TX0)))
223219
#endif
224220

0 commit comments

Comments
 (0)