[bsp/qemu-riscv]修正打开串口后中断被关闭的问题 (#9035)
This commit is contained in:
parent
ca78a4f025
commit
f778a66d6e
|
@ -52,7 +52,6 @@ void uart_init(void)
|
||||||
|
|
||||||
static rt_err_t _uart_configure(struct rt_serial_device *serial, struct serial_configure *cfg)
|
static rt_err_t _uart_configure(struct rt_serial_device *serial, struct serial_configure *cfg)
|
||||||
{
|
{
|
||||||
uart_init();
|
|
||||||
return (RT_EOK);
|
return (RT_EOK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue