aboutsummaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/stm32/stm32f20xxx_dma.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-08-10 22:42:46 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-08-10 22:42:46 +0000
commit850df30e06d5384081371d6b291cbadec2e2fd48 (patch)
tree9f21f0c9f78be5db32da4ccaf0f931dfe15b8f16 /nuttx/arch/arm/src/stm32/stm32f20xxx_dma.c
parent7189150b33612e4c91f6d9ec08a00fdfe0eece65 (diff)
downloadpx4-firmware-850df30e06d5384081371d6b291cbadec2e2fd48.tar.gz
px4-firmware-850df30e06d5384081371d6b291cbadec2e2fd48.tar.bz2
px4-firmware-850df30e06d5384081371d6b291cbadec2e2fd48.zip
Drop STM32 F2/4 SDIO clock from 24 to 16 MHz. Seems to fix SD accesses on STM3240G-EVAL
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5020 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/arch/arm/src/stm32/stm32f20xxx_dma.c')
-rw-r--r--nuttx/arch/arm/src/stm32/stm32f20xxx_dma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32f20xxx_dma.c b/nuttx/arch/arm/src/stm32/stm32f20xxx_dma.c
index e69f6d329..f0d6bb4cd 100644
--- a/nuttx/arch/arm/src/stm32/stm32f20xxx_dma.c
+++ b/nuttx/arch/arm/src/stm32/stm32f20xxx_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;
}