From 3373984f860a59b84e2b0f4c9070b977be3cf5ad Mon Sep 17 00:00:00 2001 From: Thomas Kolb Date: Thu, 15 Feb 2024 22:46:51 +0100 Subject: [PATCH] Increase serial rate to 38400 baud --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index d4a1360..d1c83fd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -132,7 +132,7 @@ fn main() -> ! { ); let uart = hal::uart::UartPeripheral::new(pac.UART0, uart_pins, &mut pac.RESETS) .enable( - UartConfig::new(9600.Hz(), DataBits::Eight, None, StopBits::One), + UartConfig::new(38400.Hz(), DataBits::Eight, None, StopBits::One), clocks.peripheral_clock.freq(), ) .unwrap();