More removal of unwanted EDBG changes.
@@ -257,11 +257,7 @@ pub fn open_device_from_selector(
match hid_device {
Ok(device) => {
match device.get_product_string() {
- Ok(Some(s)) if s.contains("CMSIS-DAP") => Ok(DAPLinkDevice::V1 {
- device: device,
- vendor_id: vid,
- product_id: pid,
- }),
+ Ok(Some(s)) if s.contains("CMSIS-DAP") => Ok(DAPLinkDevice::V1(device)),
_ => {
// Return NotFound if this VID:PID was not a valid CMSIS-DAP probe,
// or if it couldn't be opened, so that other probe modules can
