From fc81864afe1017f22021864b010039a6a6cd5614 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 21 Jan 2012 09:57:03 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3836 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32F4xx/DMA_STORM/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testhal/STM32F4xx/DMA_STORM') diff --git a/testhal/STM32F4xx/DMA_STORM/main.c b/testhal/STM32F4xx/DMA_STORM/main.c index a8f7e130b..885a2ec1f 100644 --- a/testhal/STM32F4xx/DMA_STORM/main.c +++ b/testhal/STM32F4xx/DMA_STORM/main.c @@ -216,9 +216,9 @@ int main(void) { patterns2, buf2, sizeof (patterns2)); dmaWaitCompletion(STM32_DMA2_STREAM6); dmaWaitCompletion(STM32_DMA2_STREAM7); - if (memcmp(patterns2, buf1, sizeof (patterns1))) + if (memcmp(patterns2, buf1, sizeof (patterns2))) chSysHalt(); - if (memcmp(patterns2, buf2, sizeof (patterns1))) + if (memcmp(patterns2, buf2, sizeof (patterns2))) chSysHalt(); /* Stops the watchdog.*/ -- cgit v1.2.3