diff options
| author | Philip A Reimer <[email protected]> | 2022-07-11 21:29:01 -0600 |
|---|---|---|
| committer | Philip A Reimer <[email protected]> | 2022-07-11 21:29:01 -0600 |
| commit | 4070a375c766b75fc856ffb66c3f4f32c0fcb37f (patch) | |
| tree | 107bbd882fe50367b4b7b6ef06a7dc1b258fe4bf | |
| parent | 2adee4af3878cb0e8027752c9d29a6ce236f4ab3 (diff) | |
fix typo
| -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] |
