Skip to content

Commit

Permalink
fix scanvido DMA irq priority
Browse files Browse the repository at this point in the history
  • Loading branch information
kilograham committed Oct 22, 2021
1 parent 8fc4f12 commit 2309d56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rp2_common/pico_scanvideo_dpi/scanvideo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2309d56

Please sign in to comment.