aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testhal/STM32F4xx/DMA_STORM/main.c4
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.*/