diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-01-03 15:19:19 -0500 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-01-03 15:19:19 -0500 |
commit | e9af9d951a0341ea68ce88d7b5ee3b42b68494b6 (patch) | |
tree | 4ba9cf5dacfd724b82c734026e3cb510eb485684 /libmaple/dma.c | |
parent | fc727d99ac3f3d98eeba925fbbfee5cae2e7f8a4 (diff) | |
download | librambutan-e9af9d951a0341ea68ce88d7b5ee3b42b68494b6.tar.gz librambutan-e9af9d951a0341ea68ce88d7b5ee3b42b68494b6.zip |
Documentation improvements, DMA IRQ table volatile bugfix.
Diffstat (limited to 'libmaple/dma.c')
-rw-r--r-- | libmaple/dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/dma.c b/libmaple/dma.c index 70507b9..1de9b60 100644 --- a/libmaple/dma.c +++ b/libmaple/dma.c @@ -47,7 +47,7 @@ typedef struct DMAChannel { uint32 irq_line; } DMAChannel; -static DMAChannel dma_channels[] = { +volatile static DMAChannel dma_channels[] = { { .handler = NULL, .irq_line = NVIC_DMA_CH1 }, { .handler = NULL, .irq_line = NVIC_DMA_CH2 }, { .handler = NULL, .irq_line = NVIC_DMA_CH3 }, |