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

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

6
vendor/vendor.json vendored

@ -243,10 +243,10 @@
"revisionTime": "2017-04-30T22:20:11Z" "revisionTime": "2017-04-30T22:20:11Z"
}, },
{ {
"checksumSHA1": "TU/WaqL7fYPDovmGVRSo8btD4ZM=", "checksumSHA1": "X7ZY5gt+qBd/lafKNbPbouL819w=",
"path": "github.com/karalabe/usb", "path": "github.com/karalabe/usb",
"revision": "4d6ba34a841453237dba721eeec1af0ef9a7a890", "revision": "6a7de9d893feb2324aaef49331e923ce279c7973",
"revisionTime": "2019-06-13T07:02:55Z", "revisionTime": "2019-07-03T09:51:11Z",
"tree": true "tree": true
}, },
{ {