Browse Source

Added support for WCH-LinkE v3 (#7)

pull/10/head
Rick 2 years ago
committed by GitHub
parent
commit
1d0ebc950a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/lib.rs

1
src/lib.rs

@ -31,6 +31,7 @@ impl WchLinkVariant {
2 => Ok(Self::ECh32v305), 2 => Ok(Self::ECh32v305),
3 => Ok(Self::SCh32v203), 3 => Ok(Self::SCh32v203),
4 => Ok(Self::B), 4 => Ok(Self::B),
18 => Ok(Self::ECh32v305),
_ => Err(Error::UnknownLinkVariant(value)), _ => Err(Error::UnknownLinkVariant(value)),
} }
} }

Loading…
Cancel
Save