diff options
Diffstat (limited to 'testhal/STM32F4xx/GPT/main.c')
-rw-r--r-- | testhal/STM32F4xx/GPT/main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testhal/STM32F4xx/GPT/main.c b/testhal/STM32F4xx/GPT/main.c index 4b0031dc3..a95d5fe81 100644 --- a/testhal/STM32F4xx/GPT/main.c +++ b/testhal/STM32F4xx/GPT/main.c @@ -43,7 +43,8 @@ static void gpt3cb(GPTDriver *gptp) { */
static const GPTConfig gpt2cfg = {
10000, /* 10kHz timer clock.*/
- gpt2cb /* Timer callback.*/
+ gpt2cb, /* Timer callback.*/
+ 0
};
/*
@@ -51,7 +52,8 @@ static const GPTConfig gpt2cfg = { */
static const GPTConfig gpt3cfg = {
10000, /* 10kHz timer clock.*/
- gpt3cb /* Timer callback.*/
+ gpt3cb, /* Timer callback.*/
+ 0
};
/*
|