diff options
Diffstat (limited to 'stmhal/stm32f4xx_it.c')
-rw-r--r-- | stmhal/stm32f4xx_it.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/stmhal/stm32f4xx_it.c b/stmhal/stm32f4xx_it.c index 89764f07d6..9100d63a2a 100644 --- a/stmhal/stm32f4xx_it.c +++ b/stmhal/stm32f4xx_it.c @@ -64,6 +64,7 @@ extern void fatality();
extern PCD_HandleTypeDef hpcd;
+extern TIM_HandleTypeDef USBD_CDC_TimHandle;
/* Private function prototypes -----------------------------------------------*/
/* Private functions ---------------------------------------------------------*/
@@ -348,4 +349,9 @@ void RTC_WKUP_IRQHandler(void) { Handle_EXTI_Irq(EXTI_RTC_WAKEUP);
}
+void TIM3_IRQHandler(void) {
+ // USBD CDC timer is TIM3
+ HAL_TIM_IRQHandler(&USBD_CDC_TimHandle);
+}
+
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|