aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F0xx/PWM-ICU/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32F0xx/PWM-ICU/main.c')
-rw-r--r--testhal/STM32F0xx/PWM-ICU/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/testhal/STM32F0xx/PWM-ICU/main.c b/testhal/STM32F0xx/PWM-ICU/main.c
index de6191c01..9de2c2eea 100644
--- a/testhal/STM32F0xx/PWM-ICU/main.c
+++ b/testhal/STM32F0xx/PWM-ICU/main.c
@@ -40,6 +40,7 @@ static PWMConfig pwmcfg = {
{PWM_OUTPUT_DISABLED, NULL}
},
0,
+ 0
};
icucnt_t last_width, last_period;
@@ -67,7 +68,8 @@ static ICUConfig icucfg = {
icuwidthcb,
icuperiodcb,
icuoverflowcb,
- ICU_CHANNEL_1
+ ICU_CHANNEL_1,
+ 0
};
/*