diff options
Diffstat (limited to 'testhal/STM32F1xx')
-rw-r--r-- | testhal/STM32F1xx/GPT/main.c | 6 | ||||
-rw-r--r-- | testhal/STM32F1xx/IRQ_STORM/main.c | 6 | ||||
-rw-r--r-- | testhal/STM32F1xx/PWM-ICU/main.c | 4 |
3 files changed, 11 insertions, 5 deletions
diff --git a/testhal/STM32F1xx/GPT/main.c b/testhal/STM32F1xx/GPT/main.c index f14ffd941..d247980e3 100644 --- a/testhal/STM32F1xx/GPT/main.c +++ b/testhal/STM32F1xx/GPT/main.c @@ -43,7 +43,8 @@ static void gpt2cb(GPTDriver *gptp) { */
static const GPTConfig gpt1cfg = {
10000, /* 10kHz timer clock.*/
- gpt1cb /* Timer callback.*/
+ gpt1cb, /* Timer callback.*/
+ 0
};
/*
@@ -51,7 +52,8 @@ static const GPTConfig gpt1cfg = { */
static const GPTConfig gpt2cfg = {
10000, /* 10kHz timer clock.*/
- gpt2cb /* Timer callback.*/
+ gpt2cb, /* Timer callback.*/
+ 0
};
/*
diff --git a/testhal/STM32F1xx/IRQ_STORM/main.c b/testhal/STM32F1xx/IRQ_STORM/main.c index 8961668b0..a029e02dc 100644 --- a/testhal/STM32F1xx/IRQ_STORM/main.c +++ b/testhal/STM32F1xx/IRQ_STORM/main.c @@ -147,7 +147,8 @@ static void gpt2cb(GPTDriver *gptp) { */
static const GPTConfig gpt1cfg = {
1000000, /* 1MHz timer clock.*/
- gpt1cb /* Timer callback.*/
+ gpt1cb, /* Timer callback.*/
+ 0
};
/*
@@ -155,7 +156,8 @@ static const GPTConfig gpt1cfg = { */
static const GPTConfig gpt2cfg = {
1000000, /* 1MHz timer clock.*/
- gpt2cb /* Timer callback.*/
+ gpt2cb, /* Timer callback.*/
+ 0
};
diff --git a/testhal/STM32F1xx/PWM-ICU/main.c b/testhal/STM32F1xx/PWM-ICU/main.c index a2ba2a12d..eecd5b2ad 100644 --- a/testhal/STM32F1xx/PWM-ICU/main.c +++ b/testhal/STM32F1xx/PWM-ICU/main.c @@ -40,6 +40,7 @@ static PWMConfig pwmcfg = { {PWM_OUTPUT_DISABLED, NULL}
},
0,
+ 0,
#if STM32_PWM_USE_ADVANCED
0
#endif
@@ -63,7 +64,8 @@ static ICUConfig icucfg = { icuwidthcb,
icuperiodcb,
NULL,
- ICU_CHANNEL_1
+ ICU_CHANNEL_1,
+ 0
};
/*
|