mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
restore STM32 to v0.1.2
This commit is contained in:
parent
2b90a1a14b
commit
e0e6d56e6a
@ -1135,16 +1135,16 @@ static void uart_isr(struct rt_serial_device *serial)
|
||||
}
|
||||
|
||||
#if defined(BSP_USING_UART1)
|
||||
//void USART1_IRQHandler(void)
|
||||
//{
|
||||
// /* enter interrupt */
|
||||
// rt_interrupt_enter();
|
||||
void USART1_IRQHandler(void)
|
||||
{
|
||||
/* enter interrupt */
|
||||
rt_interrupt_enter();
|
||||
|
||||
// uart_isr(&(uart_obj[UART1_INDEX].serial));
|
||||
uart_isr(&(uart_obj[UART1_INDEX].serial));
|
||||
|
||||
// /* leave interrupt */
|
||||
// rt_interrupt_leave();
|
||||
//}
|
||||
/* leave interrupt */
|
||||
rt_interrupt_leave();
|
||||
}
|
||||
#if defined(RT_SERIAL_USING_DMA) && defined(BSP_UART1_RX_USING_DMA)
|
||||
void UART1_DMA_RX_IRQHandler(void)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user