From 2309d56a3af1df697b33275073c98e92ac93b196 Mon Sep 17 00:00:00 2001 From: graham sanderson Date: Fri, 22 Oct 2021 16:16:05 -0500 Subject: [PATCH] fix scanvido DMA irq priority --- src/rp2_common/pico_scanvideo_dpi/scanvideo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rp2_common/pico_scanvideo_dpi/scanvideo.c b/src/rp2_common/pico_scanvideo_dpi/scanvideo.c index 963c0a5..f32d0f1 100644 --- a/src/rp2_common/pico_scanvideo_dpi/scanvideo.c +++ b/src/rp2_common/pico_scanvideo_dpi/scanvideo.c @@ -1431,6 +1431,7 @@ bool scanvideo_setup_with_timing(const scanvideo_mode_t *mode, const scanvideo_t #else irq_set_priority(PIO0_IRQ_0, 0); // highest priority irq_set_priority(PIO0_IRQ_1, 0x40); // lower priority by 1 + irq_set_priority(DMA_IRQ_0, 0x40); // higher than other crud #endif dma_claim_mask(PICO_SCANVIDEO_SCANLINE_DMA_CHANNELS_MASK);