Add the number of the USB port in the DeviceDesc structure (#18)

This commit is contained in:
CriJonsi
2017-09-07 17:27:58 +02:00
committed by zagrodzki
parent c113a5e0de
commit 01840c1d23
3 changed files with 5 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ type DeviceDesc struct {
Bus int // The bus on which the device was detected
Address int // The address of the device on the bus
Speed Speed // The negotiated operating speed for the device
Port int // The usb port on which the device was detected
// Version information
Spec BCD // USB Specification Release Number