thegecko / webusb

Node.js implementation of the WebUSB Specification
https://thegecko.github.io/webusb/
MIT License
183 stars 27 forks source link

Fix endpoint numbers #20

Closed thegecko closed 6 years ago

thegecko commented 6 years ago

Fixes #19

@monteslu

monteslu commented 6 years ago

Adapter.getEndpoint(device, number) calls to the libusb const epoint = iface.endpoint(endpointNumber); which still tries to match the 5 to a 133.

thegecko commented 6 years ago

Sorry, check the update