File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ struct serial_s {
121121#define USART3_IRQn USART3_4_IRQn
122122#define USART3_IRQHandler USART3_4_IRQHandler
123123#endif /* STM32F091xC || STM32F098xx */
124- #elif defined(STM32G0xx )
124+ #elif defined(STM32G0xx ) || defined( STM32C0xx )
125125#if defined(LPUART2_BASE )
126126#define USART3_IRQn USART3_4_5_6_LPUART1_IRQn
127127#define USART3_IRQHandler USART3_4_5_6_LPUART1_IRQHandler
@@ -153,7 +153,7 @@ struct serial_s {
153153#endif /* STM32F091xC || STM32F098xx */
154154#elif defined(STM32L0xx )
155155#define USART4_IRQn USART4_5_IRQn
156- #elif defined(STM32G0xx )
156+ #elif defined(STM32G0xx ) || defined( STM32C0xx )
157157#if defined(LPUART2_BASE )
158158#define USART4_IRQn USART3_4_5_6_LPUART1_IRQn
159159#elif defined(LPUART1_BASE )
You can’t perform that action at this time.
0 commit comments