-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate filtering functions don't agreee #74
Comments
Hmm, the The filter in the adapter is different and was used to find My approach was to use a filter, but it's far from ideal, perhaps it should be swapped to storing a hash of known data. This aside, I can see the same filter is being used here: Line 291 in 0a3f331
And it probably shouldn't, hence the issue you are seeing! |
@pelikhan Does deleting these lines fix your issue? Lines 255 to 262 in 0a3f331
|
it goes through but then i get LIBUSB_ERROR_NOT_FOUND so my setup does not seem to be ok :( :( :(, but at least it finds a device. |
Thanks’ |
We have a device that requires this code path to match.
webusb/src/usb.ts
Line 173 in 0a3f331
But the device pre-filter does not have this code path.
webusb/src/adapter.ts
Line 256 in 0a3f331
Should both filter be merged?
The text was updated successfully, but these errors were encountered: