aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/common
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-04-11 18:08:14 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-04-11 18:08:14 +0000
commitc54ddc8ef6c00bfd1bbb7163bfd1db3210366b6e (patch)
tree1563ce5d121256c28cdafcd2a5c2326bc7c747ff /testhal/common
parentb89d451592f0bd9877e6e2bd3ca29cfb4d5ee9d2 (diff)
downloadChibiOS-c54ddc8ef6c00bfd1bbb7163bfd1db3210366b6e.tar.gz
ChibiOS-c54ddc8ef6c00bfd1bbb7163bfd1db3210366b6e.tar.bz2
ChibiOS-c54ddc8ef6c00bfd1bbb7163bfd1db3210366b6e.zip
All IRQ_STORM applications reworked.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7884 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/common')
-rw-r--r--testhal/common/irq_storm.c4
1 files changed, 2 insertions, 2 deletions
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");