vendor: update karalabe/usb to fix CGO=0 builds (#19790)

This commit is contained in:
Guillaume Ballet
2019-07-03 17:22:27 +02:00
committed by Péter Szilágyi
parent 5f5de49cd9
commit 8d2cf028a5
2 changed files with 8 additions and 3 deletions

View File

@@ -44,3 +44,8 @@ func EnumerateRaw(vendorID uint16, productID uint16) ([]DeviceInfo, error) {
func EnumerateHid(vendorID uint16, productID uint16) ([]DeviceInfo, error) {
return nil, nil
}
// Open connects to a previsouly discovered USB device.
func (info DeviceInfo) Open() (Device, error) {
return nil, ErrUnsupportedPlatform
}