Skip to content

Commit 8a34330

Browse files
author
Dilawar Singh
committed
feat: show 'class' on Windows
1 parent 17b2121 commit 8a34330

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/windows.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ pub fn enumerate_platform(vid: Option<u16>, pid: Option<u16>) -> Vec<UsbDevice>
151151
manufacturer,
152152
description: Some(description),
153153
serial_number,
154+
class: class.clone(),
154155
base_class: class.map(|cls| cls.into()),
155156
});
156157
}

0 commit comments

Comments
 (0)