File tree 1 file changed +7
-2
lines changed
libraries/SrcWrapper/src/stm32
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -914,7 +914,7 @@ void USART3_IRQHandler(void)
914
914
if (uart_handlers [UART3_INDEX ] != NULL ) {
915
915
HAL_UART_IRQHandler (uart_handlers [UART3_INDEX ]);
916
916
}
917
- #if defined(STM32F0xx )
917
+ #if defined(STM32F0xx ) || defined( STM32G0xx )
918
918
/* USART3_4_IRQn */
919
919
if (uart_handlers [UART4_INDEX ] != NULL ) {
920
920
HAL_UART_IRQHandler (uart_handlers [UART4_INDEX ]);
@@ -927,7 +927,12 @@ void USART3_IRQHandler(void)
927
927
HAL_UART_IRQHandler (uart_handlers [UART6_INDEX ]);
928
928
}
929
929
#endif /* STM32F030xC */
930
- #endif /* STM32F0xx */
930
+ #if defined(STM32G0xx ) && defined(LPUART1_BASE )
931
+ if (uart_handlers [LPUART1_INDEX ] != NULL ) {
932
+ HAL_UART_IRQHandler (uart_handlers [LPUART1_INDEX ]);
933
+ }
934
+ #endif /* STM32G0xx && LPUART1_BASE */
935
+ #endif /* STM32F0xx || STM32G0xx */
931
936
#endif /* STM32F091xC || STM32F098xx */
932
937
}
933
938
#endif
You can’t perform that action at this time.
0 commit comments