Skip to content

Commit

Permalink
feat: change uart baudrate to 250000
Browse files Browse the repository at this point in the history
Signed-off-by: tfx2001 <tfx2001@outlook.com>
  • Loading branch information
tfx2001 committed Jul 21, 2024
1 parent d2cbfe9 commit 014ddfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/board/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 014ddfd

Please sign in to comment.