From c54ddc8ef6c00bfd1bbb7163bfd1db3210366b6e Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 11 Apr 2015 18:08:14 +0000 Subject: All IRQ_STORM applications reworked. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7884 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/common/irq_storm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testhal/common') diff --git a/testhal/common/irq_storm.c b/testhal/common/irq_storm.c index 5e0e4cc69..2e5382881 100644 --- a/testhal/common/irq_storm.c +++ b/testhal/common/irq_storm.c @@ -263,8 +263,8 @@ void irq_storm_execute(const irq_storm_config_t *cfg) { if (threshold > worst) worst = threshold; } - gptStopTimer(&GPTD4); - gptStopTimer(&GPTD3); + gptStopTimer(cfg->gpt1p); + gptStopTimer(cfg->gpt2p); chprintf(cfg->out, "Worst case at %d uS\r\n", worst); chprintf(cfg->out, "\r\nTest Complete\r\n"); -- cgit v1.2.3