We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1991fdd + e70c40b commit 17d180dCopy full SHA for 17d180d
drivers/hub75/hub75.cpp
@@ -146,7 +146,6 @@ void Hub75::start(irq_handler_t handler) {
146
147
dma_channel_set_irq0_enabled(dma_channel, true);
148
149
- irq_set_enabled(pio_get_dreq(pio, sm_data, true), true);
150
irq_set_enabled(DMA_IRQ_0, true);
151
152
row = 0;
@@ -161,7 +160,6 @@ void Hub75::start(irq_handler_t handler) {
161
160
void Hub75::stop(irq_handler_t handler) {
162
163
irq_set_enabled(DMA_IRQ_0, false);
164
- irq_set_enabled(pio_get_dreq(pio, sm_data, true), false);
165
166
if(dma_channel != -1 && dma_channel_is_claimed(dma_channel)) {
167
dma_channel_set_irq0_enabled(dma_channel, false);
@@ -275,4 +273,4 @@ void Hub75::update(PicoGraphics *graphics) {
275
273
}
276
274
277
278
-}
+}
0 commit comments