diff options
| -rw-r--r-- | embassy-usb-serial/src/lib.rs | 2 | ||||
| -rw-r--r-- | examples/stm32l5/.cargo/config.toml | 2 |
2 files changed, 2 insertions, 2 deletions
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<u8> for StopBits { | |||
| 298 | pub enum ParityType { | 298 | pub enum ParityType { |
| 299 | None = 0, | 299 | None = 0, |
| 300 | Odd = 1, | 300 | Odd = 1, |
| 301 | Event = 2, | 301 | Even = 2, |
| 302 | Mark = 3, | 302 | Mark = 3, |
| 303 | Space = 4, | 303 | Space = 4, |
| 304 | } | 304 | } |
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 @@ | |||
| 1 | [target.'cfg(all(target_arch = "arm", target_os = "none"))'] | 1 | [target.'cfg(all(target_arch = "arm", target_os = "none"))'] |
| 2 | # replace STM32F429ZITx with your chip as listed in `probe-run --list-chips` | 2 | # replace STM32L552ZETxQ with your chip as listed in `probe-run --list-chips` |
| 3 | runner = "probe-run --chip STM32L552ZETxQ" | 3 | runner = "probe-run --chip STM32L552ZETxQ" |
| 4 | 4 | ||
| 5 | [build] | 5 | [build] |
