mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-07 01:44:41 +08:00
[Fix] <bsp>:gd32_uart_gpio_init 过早开中断触发断言rx_fifo == NULL
Solution: gd32_uart_gpio_init 不开中断 等驱动框架初始化好fifo后通过 device_control 开中断 Signed-off-by: Yucai Liu <1486344514@qq.com>
This commit is contained in:
@@ -416,7 +416,6 @@ void gd32_uart_gpio_init(struct gd32_uart *uart)
|
||||
#endif
|
||||
|
||||
NVIC_SetPriority(uart->irqn, 0);
|
||||
NVIC_EnableIRQ(uart->irqn);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user