diff options
Diffstat (limited to 'testhal/STM32F0xx/IRQ_STORM/main.c')
-rw-r--r-- | testhal/STM32F0xx/IRQ_STORM/main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testhal/STM32F0xx/IRQ_STORM/main.c b/testhal/STM32F0xx/IRQ_STORM/main.c index fd74a54c1..4a11fcad8 100644 --- a/testhal/STM32F0xx/IRQ_STORM/main.c +++ b/testhal/STM32F0xx/IRQ_STORM/main.c @@ -147,7 +147,8 @@ static void gpt3cb(GPTDriver *gptp) { */
static const GPTConfig gpt2cfg = {
1000000, /* 1MHz timer clock.*/
- gpt2cb /* Timer callback.*/
+ gpt2cb, /* Timer callback.*/
+ 0
};
/*
@@ -155,7 +156,8 @@ static const GPTConfig gpt2cfg = { */
static const GPTConfig gpt3cfg = {
1000000, /* 1MHz timer clock.*/
- gpt3cb /* Timer callback.*/
+ gpt3cb, /* Timer callback.*/
+ 0
};
|