Skip to content

Commit

Permalink
ch375dll64 test
Browse files Browse the repository at this point in the history
  • Loading branch information
21km43 committed Jan 19, 2025
1 parent db77c46 commit be0e8fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/usb_device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ pub mod ch375_driver {
CH375_DRIVER = Some(
Library::new("WCHLinkDLL.dll")
.map_err(|_| Error::Custom("WCHLinkDLL.dll not found".to_string()))?,
Library::new("CH375DLL64.dll")
.map_err(|_| Error::Custom("CH375DLL64.dll not found".to_string()))?,
);
let lib = CH375_DRIVER.as_ref().unwrap();
let get_version: Symbol<unsafe extern "stdcall" fn() -> u32> =
Expand Down

0 comments on commit be0e8fd

Please sign in to comment.