File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
targets/TARGET_STM/TARGET_STM32G0 Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -360,37 +360,37 @@ static IRQn_Type serial_get_irq_n(UARTName uart_name)
360360#endif
361361#if defined(USART2_BASE )
362362 case UART_2 :
363- irq_n = USART2_IRQn ;
363+ irq_n = USART_GROUP1_IRQn ;
364364 break ;
365365#endif
366366#if defined(USART3_BASE )
367367 case UART_3 :
368- irq_n = USART3_IRQn ;
368+ irq_n = USART_GROUP2_IRQn ;
369369 break ;
370370#endif
371371#if defined(USART4_BASE )
372372 case UART_4 :
373- irq_n = USART4_IRQn ;
373+ irq_n = USART_GROUP2_IRQn ;
374374 break ;
375375#endif
376376#if defined(USART5_BASE )
377377 case UART_5 :
378- irq_n = USART5_IRQn ;
378+ irq_n = USART_GROUP2_IRQn ;
379379 break ;
380380#endif
381381#if defined(USART6_BASE )
382382 case UART_6 :
383- irq_n = USART6_IRQn ;
383+ irq_n = USART_GROUP2_IRQn ;
384384 break ;
385385#endif
386386#if defined(LPUART1_BASE )
387387 case LPUART_1 :
388- irq_n = LPUART1_IRQn ;
388+ irq_n = USART_GROUP2_IRQn ;
389389 break ;
390390#endif
391391#if defined(LPUART2_BASE )
392392 case LPUART_2 :
393- irq_n = LPUART2_IRQn ;
393+ irq_n = USART_GROUP1_IRQn ;
394394 break ;
395395#endif
396396 default :
You can’t perform that action at this time.
0 commit comments