summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheyuanjie87 <[email protected]>2024-06-05 09:52:32 +0800
committerGitHub <[email protected]>2024-06-05 09:52:32 +0800
commitf778a66d6e0cd6376f12bbd3bc2ccc3bbc5719ed (patch)
tree0b90df9df1af0071306976a66a17eb83bbac9c70
parentca78a4f0259fae78cd96b32fc4c3cb6365f5b660 (diff)
[bsp/qemu-riscv]修正打开串口后中断被关闭的问题 (#9035)
-rw-r--r--bsp/qemu-virt64-riscv/driver/drv_uart.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bsp/qemu-virt64-riscv/driver/drv_uart.c b/bsp/qemu-virt64-riscv/driver/drv_uart.c
index 513c27f47c..5e2a33e76c 100644
--- a/bsp/qemu-virt64-riscv/driver/drv_uart.c
+++ b/bsp/qemu-virt64-riscv/driver/drv_uart.c
@@ -52,7 +52,6 @@ void uart_init(void)
static rt_err_t _uart_configure(struct rt_serial_device *serial, struct serial_configure *cfg)
{
- uart_init();
return (RT_EOK);
}