aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/FSMC_SRAM
diff options
context:
space:
mode:
authorAndrea Zoppi <texzk@email.it>2015-07-05 22:51:13 +0200
committerAndrea Zoppi <texzk@email.it>2015-07-05 22:51:13 +0200
commit0179e6fc83be5f657bf43bb8f672e8d99e5c79cb (patch)
tree76a8eaf08e9d52ff9c0d1541690fc1642d20ce39 /testhal/STM32/STM32F4xx/FSMC_SRAM
parent246e4cc26b79a5efcd1064c8162e498b9b97368a (diff)
parent95da8798dd924b6eceb60c41f26d262d83799acb (diff)
downloadChibiOS-Contrib-0179e6fc83be5f657bf43bb8f672e8d99e5c79cb.tar.gz
ChibiOS-Contrib-0179e6fc83be5f657bf43bb8f672e8d99e5c79cb.tar.bz2
ChibiOS-Contrib-0179e6fc83be5f657bf43bb8f672e8d99e5c79cb.zip
Merge branch 'master' into tribuf
Diffstat (limited to 'testhal/STM32/STM32F4xx/FSMC_SRAM')
-rw-r--r--testhal/STM32/STM32F4xx/FSMC_SRAM/memcpy_dma.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/testhal/STM32/STM32F4xx/FSMC_SRAM/memcpy_dma.c b/testhal/STM32/STM32F4xx/FSMC_SRAM/memcpy_dma.c
index 2705382..4961c7c 100644
--- a/testhal/STM32/STM32F4xx/FSMC_SRAM/memcpy_dma.c
+++ b/testhal/STM32/STM32F4xx/FSMC_SRAM/memcpy_dma.c
@@ -68,7 +68,7 @@ void memcpy_dma_start(void) {
bool b;
engine.dma = STM32_DMA_STREAM(STM32_MEMCPY_DMA_STREAM);
- b = dmaStreamAllocate(engine.dma, STM32_NAND_DMA_PRIORITY, NULL, NULL);
+ b = dmaStreamAllocate(engine.dma, STM32_MEMCPY_DMA_PRIORITY, NULL, NULL);
osalDbgAssert(!b, "stream already allocated");
}
@@ -103,11 +103,3 @@ void memcpy_dma(void *dest, const void *src, size_t size) {
memcpy(dest+size-remainder, src+size-remainder, remainder);
}
-
-
-
-
-
-
-
-