mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2025-01-11 13:01:30 +11:00
Set the uart config default baud rate to 115200
This commit is contained in:
parent
b3b4d9ff6f
commit
d6e3c7b615
|
@ -64,7 +64,7 @@ pub enum Parity {
|
|||
/// ```ignore
|
||||
/// # // can't actually create this with the non_exhaustive attribute
|
||||
/// UartConfig {
|
||||
/// baudrate: Baud(0),
|
||||
/// baudrate: Baud(115_200),
|
||||
/// data_bits: DataBits::Eight,
|
||||
/// stop_bits: StopBits::One,
|
||||
/// parity: None,
|
||||
|
@ -88,7 +88,7 @@ pub struct UartConfig {
|
|||
impl Default for UartConfig {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
baudrate: Baud(0),
|
||||
baudrate: Baud(115_200),
|
||||
data_bits: DataBits::Eight,
|
||||
stop_bits: StopBits::One,
|
||||
parity: None,
|
||||
|
|
Loading…
Reference in a new issue