summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/stm32f4xx_it.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-03-22 23:54:13 +0000
committerDamien George <damien.p.george@gmail.com>2014-03-22 23:54:13 +0000
commit908a670dfc44111c1c1f3fdee0ebb7471c2ef079 (patch)
treef6971b2c7feb93ad38c224d93a8d75f645f86087 /stmhal/stm32f4xx_it.c
parent02fa0358005fed02e989e7b1ad9b31f7a9ae8637 (diff)
downloadmicropython-908a670dfc44111c1c1f3fdee0ebb7471c2ef079.tar.gz
micropython-908a670dfc44111c1c1f3fdee0ebb7471c2ef079.zip
stmhal: Add intensity method for blue LED.
As part of this, rejig the way TIM3 is initialised, since it's now shared by USB CDC and the blue LED PWM.
Diffstat (limited to 'stmhal/stm32f4xx_it.c')
-rw-r--r--stmhal/stm32f4xx_it.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/stmhal/stm32f4xx_it.c b/stmhal/stm32f4xx_it.c
index 30ded5f7b5..cfd24dd331 100644
--- a/stmhal/stm32f4xx_it.c
+++ b/stmhal/stm32f4xx_it.c
@@ -357,8 +357,7 @@ void TIM2_IRQHandler(void) {
}
void TIM3_IRQHandler(void) {
- // USBD CDC timer is TIM3
- HAL_TIM_IRQHandler(&USBD_CDC_TIM3_Handle);
+ HAL_TIM_IRQHandler(&TIM3_Handle);
}
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/