diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-01-21 09:57:03 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-01-21 09:57:03 +0000 |
commit | fc81864afe1017f22021864b010039a6a6cd5614 (patch) | |
tree | 1c44dbcbfb191401c4e70174effd2aa54c1b7284 /testhal | |
parent | 81168cec2f17661adfd41595dbb3c6e836efc59e (diff) | |
download | ChibiOS-fc81864afe1017f22021864b010039a6a6cd5614.tar.gz ChibiOS-fc81864afe1017f22021864b010039a6a6cd5614.tar.bz2 ChibiOS-fc81864afe1017f22021864b010039a6a6cd5614.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3836 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal')
-rw-r--r-- | testhal/STM32F4xx/DMA_STORM/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
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.*/
|