Skip to content

Commit 2309d56

Browse files
committed
fix scanvido DMA irq priority
1 parent 8fc4f12 commit 2309d56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rp2_common/pico_scanvideo_dpi/scanvideo.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1431,6 +1431,7 @@ bool scanvideo_setup_with_timing(const scanvideo_mode_t *mode, const scanvideo_t
14311431
#else
14321432
irq_set_priority(PIO0_IRQ_0, 0); // highest priority
14331433
irq_set_priority(PIO0_IRQ_1, 0x40); // lower priority by 1
1434+
irq_set_priority(DMA_IRQ_0, 0x40); // higher than other crud
14341435
#endif
14351436

14361437
dma_claim_mask(PICO_SCANVIDEO_SCANLINE_DMA_CHANNELS_MASK);

0 commit comments

Comments
 (0)