aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/FSMC_SRAM/memcpy_dma.c
diff options
context:
space:
mode:
authorbarthess <barthess@yandex.ru>2015-06-30 23:53:35 +0300
committerbarthess <barthess@yandex.ru>2015-06-30 23:53:35 +0300
commit95da8798dd924b6eceb60c41f26d262d83799acb (patch)
tree1ead083c27d7e06cbd355bbe31e73ed294209ca9 /testhal/STM32/STM32F4xx/FSMC_SRAM/memcpy_dma.c
parentb7175b45107d5b0677266c8d4eb0c49e4cc2ca0b (diff)
downloadChibiOS-Contrib-95da8798dd924b6eceb60c41f26d262d83799acb.tar.gz
ChibiOS-Contrib-95da8798dd924b6eceb60c41f26d262d83799acb.tar.bz2
ChibiOS-Contrib-95da8798dd924b6eceb60c41f26d262d83799acb.zip
Added SDRAM teshtal. Not tested in hardware
Diffstat (limited to 'testhal/STM32/STM32F4xx/FSMC_SRAM/memcpy_dma.c')
-rw-r--r--testhal/STM32/STM32F4xx/FSMC_SRAM/memcpy_dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testhal/STM32/STM32F4xx/FSMC_SRAM/memcpy_dma.c b/testhal/STM32/STM32F4xx/FSMC_SRAM/memcpy_dma.c
index 9f7ff8a..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");
}