Skip to content

Commit 0bf63ca

Browse files
authored
hub75: don't enable an unrelated IRQ
DREQs are not IRQs, `DREQ_PIO0_TXn` happens to align with `TIMER_IRQ_n` so this enabled a timer IRQ.
1 parent 1991fdd commit 0bf63ca

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/hub75/hub75.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ void Hub75::start(irq_handler_t handler) {
146146

147147
dma_channel_set_irq0_enabled(dma_channel, true);
148148

149-
irq_set_enabled(pio_get_dreq(pio, sm_data, true), true);
150149
irq_set_enabled(DMA_IRQ_0, true);
151150

152151
row = 0;
@@ -275,4 +274,4 @@ void Hub75::update(PicoGraphics *graphics) {
275274
}
276275
}
277276
}
278-
}
277+
}

0 commit comments

Comments
 (0)