aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F1xx/PWM-ICU/main.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-08-15 08:17:27 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-08-15 08:17:27 +0000
commit9568ccf9d193dc60cf3f07b18cab9079e5fcbb18 (patch)
treed2dbc18f425b8b5601d17e61f1aa14a9675ae4e3 /testhal/STM32F1xx/PWM-ICU/main.c
parent7391ec61e2ae42133c076d10899af324776e8255 (diff)
downloadChibiOS-9568ccf9d193dc60cf3f07b18cab9079e5fcbb18.tar.gz
ChibiOS-9568ccf9d193dc60cf3f07b18cab9079e5fcbb18.tar.bz2
ChibiOS-9568ccf9d193dc60cf3f07b18cab9079e5fcbb18.zip
Upgrades to STM32 GPT, ICU and PWM drivers.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6150 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F1xx/PWM-ICU/main.c')
-rw-r--r--testhal/STM32F1xx/PWM-ICU/main.c4
1 files changed, 3 insertions, 1 deletions
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
};
/*