Skip to content

Commit

Permalink
Don't disable global interrupts with DMA interrupt
Browse files Browse the repository at this point in the history
  • Loading branch information
LuigiGiuffrida98 committed Sep 19, 2024
1 parent 798fd6f commit cb24aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw/device/lib/drivers/dma/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ extern "C"
/**
* Returns the mask to enable/disable DMA interrupts.
*/
#define DMA_CSR_REG_MIE_MASK (( 1 << 19 ) | (1 << 11 ) ) // @ToDo Add definitions for this 19 and 11
#define DMA_CSR_REG_MIE_MASK (( 1 << 19 )) // 19 is DMA fast interrupt bit in MIE CSR

/**
* Mask to determine if an address is multiple of 4 (Word aligned).
Expand Down

0 comments on commit cb24aef

Please sign in to comment.