diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-08-10 22:42:46 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-08-10 22:42:46 +0000 |
commit | cd2148566595547e7adb17e804fa494fb5bc7126 (patch) | |
tree | 9f21f0c9f78be5db32da4ccaf0f931dfe15b8f16 /nuttx/arch/arm/src/stm32/stm32f40xxx_dma.c | |
parent | b1e0f7b0dc5b0a350eb1e198ac6c4a579318cba9 (diff) | |
download | px4-nuttx-cd2148566595547e7adb17e804fa494fb5bc7126.tar.gz px4-nuttx-cd2148566595547e7adb17e804fa494fb5bc7126.tar.bz2 px4-nuttx-cd2148566595547e7adb17e804fa494fb5bc7126.zip |
Drop STM32 F2/4 SDIO clock from 24 to 16 MHz. Seems to fix SD accesses on STM3240G-EVAL
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5020 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/stm32/stm32f40xxx_dma.c')
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32f40xxx_dma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32f40xxx_dma.c b/nuttx/arch/arm/src/stm32/stm32f40xxx_dma.c index dce340ff9..907650b1d 100644 --- a/nuttx/arch/arm/src/stm32/stm32f40xxx_dma.c +++ b/nuttx/arch/arm/src/stm32/stm32f40xxx_dma.c @@ -783,6 +783,7 @@ void stm32_dmastart(DMA_HANDLE handle, dma_callback_t callback, void *arg, bool * mode to determine when the buffer is half-full, or in double-buffered * mode to determine when one of the two buffers is full. */ + scr |= (half ? DMA_SCR_HTIE : 0) | DMA_SCR_TCIE | DMA_SCR_TEIE; } |