Skip to content

Commit 1882047

Browse files
committed
stmhal/irq: Add comment about SDIO priority being higher than DMA.
1 parent 22bd231 commit 1882047

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

stmhal/irq.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ MP_DECLARE_CONST_FUN_OBJ(pyb_enable_irq_obj);
6969
#define IRQ_PRI_FLASH 1
7070
#define IRQ_SUBPRI_FLASH 1
7171

72+
// SDIO must be higher priority than DMA for SDIO DMA transfers to work.
7273
#define IRQ_PRI_SDIO 4
7374
#define IRQ_SUBPRI_SDIO 0
7475

0 commit comments

Comments
 (0)