diff options
Diffstat (limited to 'testhal/common')
-rw-r--r-- | testhal/common/irq_storm.c | 4 |
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");
|