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
Charlie Birks 2024-12-04 14:17:13 +00:00 zatwierdzone przez GitHub
rodzic 1991fdde2c
commit 0bf63ca881
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -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) {
}
}
}
}
}