From 014ddfd28b24548f5e7ff1b6f94d2830db5d9897 Mon Sep 17 00:00:00 2001 From: tfx2001 Date: Sun, 21 Jul 2024 13:45:58 +0800 Subject: [PATCH] feat: change uart baudrate to 250000 Signed-off-by: tfx2001 --- src/board/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/board/mod.rs b/src/board/mod.rs index 0a0d3aa..83c0b7e 100644 --- a/src/board/mod.rs +++ b/src/board/mod.rs @@ -47,7 +47,7 @@ pub fn board_init() { let uart0 = pac::UART0; let uart = Uart::new(uart0); - uart.setup(115_200, clock.get_clk_freq(clocks::URT0)); + uart.setup(250_000, clock.get_clk_freq(clocks::URT0)); *UART.lock() = Some(uart); let cpu0_clock_freq = clock.get_cpu0_clk_freq();