aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/PWM-ICU/main.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-04-01 13:06:44 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-04-01 13:06:44 +0000
commitd8420eb83a4b843ad23d0fbe77fea36272adc525 (patch)
tree6f3b4576c53b3105a2bf800360c96212c8d476ac /testhal/STM32/PWM-ICU/main.c
parent875a7d8f4151039f4c47b05c0d4f196575b8d109 (diff)
downloadChibiOS-d8420eb83a4b843ad23d0fbe77fea36272adc525.tar.gz
ChibiOS-d8420eb83a4b843ad23d0fbe77fea36272adc525.tar.bz2
ChibiOS-d8420eb83a4b843ad23d0fbe77fea36272adc525.zip
Added advanced mode and BTRD handling to the STM32 PWM driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2861 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/PWM-ICU/main.c')
-rw-r--r--testhal/STM32/PWM-ICU/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/testhal/STM32/PWM-ICU/main.c b/testhal/STM32/PWM-ICU/main.c
index c89b71988..3f7b6423e 100644
--- a/testhal/STM32/PWM-ICU/main.c
+++ b/testhal/STM32/PWM-ICU/main.c
@@ -43,7 +43,10 @@ static PWMConfig pwmcfg = {
{PWM_OUTPUT_DISABLED, NULL},
{PWM_OUTPUT_DISABLED, NULL}
},
+ 0,
+#if STM32_PWM_USE_ADVANCED
0
+#endif
};
icucnt_t last_width, last_period;