kopia lustrzana https://github.com/pimoroni/pimoroni-pico
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.pull/1033/head
rodzic
1991fdde2c
commit
0bf63ca881
|
@ -146,7 +146,6 @@ void Hub75::start(irq_handler_t handler) {
|
|||
|
||||
dma_channel_set_irq0_enabled(dma_channel, true);
|
||||
|
||||
irq_set_enabled(pio_get_dreq(pio, sm_data, true), true);
|
||||
irq_set_enabled(DMA_IRQ_0, true);
|
||||
|
||||
row = 0;
|
||||
|
@ -275,4 +274,4 @@ void Hub75::update(PicoGraphics *graphics) {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue