diff --git a/embassy-usb-serial/src/lib.rs b/embassy-usb-serial/src/lib.rs index e3f8c7fff..a23d62e65 100644 --- a/embassy-usb-serial/src/lib.rs +++ b/embassy-usb-serial/src/lib.rs @@ -298,7 +298,7 @@ impl From for StopBits { pub enum ParityType { None = 0, Odd = 1, - Event = 2, + Even = 2, Mark = 3, Space = 4, } diff --git a/examples/stm32l5/.cargo/config.toml b/examples/stm32l5/.cargo/config.toml index 332a97d11..f2af6b556 100644 --- a/examples/stm32l5/.cargo/config.toml +++ b/examples/stm32l5/.cargo/config.toml @@ -1,5 +1,5 @@ [target.'cfg(all(target_arch = "arm", target_os = "none"))'] -# replace STM32F429ZITx with your chip as listed in `probe-run --list-chips` +# replace STM32L552ZETxQ with your chip as listed in `probe-run --list-chips` runner = "probe-run --chip STM32L552ZETxQ" [build]