aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32F1xx
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-11-19 08:48:19 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-11-19 08:48:19 +0000
commitbcdb92f134f82921cbfe12774cc83e83ddee8eef (patch)
tree1d4c2d67a6440dd94264b34f73c4f3b52f691630 /os/hal/platforms/STM32F1xx
parent33d9231ad21123694aa3932d88fa4c87dc829b98 (diff)
downloadChibiOS-bcdb92f134f82921cbfe12774cc83e83ddee8eef.tar.gz
ChibiOS-bcdb92f134f82921cbfe12774cc83e83ddee8eef.tar.bz2
ChibiOS-bcdb92f134f82921cbfe12774cc83e83ddee8eef.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3508 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32F1xx')
-rw-r--r--os/hal/platforms/STM32F1xx/stm32_dma.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32F1xx/stm32_dma.h b/os/hal/platforms/STM32F1xx/stm32_dma.h
index fdfd0bc7b..7e230d851 100644
--- a/os/hal/platforms/STM32F1xx/stm32_dma.h
+++ b/os/hal/platforms/STM32F1xx/stm32_dma.h
@@ -347,7 +347,7 @@ typedef void (*stm32_dmaisr_t)(void *p, uint32_t flags);
#define dmaStartMemCopy(dmastp, mode, src, dst, n) { \
dmaStreamSetPeripheral(dmastp, src); \
dmaStreamSetMemory0(dmastp, dst); \
- dmaStreamGetTransactionSize(dmastp, n); \
+ dmaStreamSetTransactionSize(dmastp, n); \
dmaStreamSetMode(dmastp, (mode) | \
STM32_DMA_CR_MINC | STM32_DMA_CR_PINC | \
STM32_DMA_CR_DIR_M2M | STM32_DMA_CR_EN); \