From 1d0ebc950a2e1cf1caa8be1559f85feb0368397d Mon Sep 17 00:00:00 2001 From: Rick Date: Fri, 28 Apr 2023 00:27:24 +0200 Subject: [PATCH] Added support for WCH-LinkE v3 (#7) --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 80ef7a2..4a2264b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -31,6 +31,7 @@ impl WchLinkVariant { 2 => Ok(Self::ECh32v305), 3 => Ok(Self::SCh32v203), 4 => Ok(Self::B), + 18 => Ok(Self::ECh32v305), _ => Err(Error::UnknownLinkVariant(value)), } }