Increase serial rate to 38400 baud
This commit is contained in:
parent
604c34a147
commit
3373984f86
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue