Skip to content
Snippets Groups Projects
Commit 8f3d16f4 authored by Hellosun Wu's avatar Hellosun Wu Committed by Freddie Chopin
Browse files

libusb: Add transfer type filter to get correct ep


The need for this due to AICE having 3 interfaces
(EP1 IN-Interrupt, EP2 OUT-Bulk, EP6 IN-Bulk).
Without it, the function will choose first two endpoint as
read_ep/write_ep. This filter will check transfer types
when get endpoint-id. Without this patch, AICE will not
get correct endpoint.

Change-Id: I4da93c7de41cd19e5095b4bfb42078b21f40b678
Signed-off-by: default avatarHellosun Wu <wujiheng.tw@gmail.com>
Reviewed-on: http://openocd.zylin.com/3218


Tested-by: jenkins
Reviewed-by: default avatarHsiangkai Wang <hsiangkai@gmail.com>
Reviewed-by: default avatarFreddie Chopin <freddie.chopin@gmail.com>
parent 45f0e6d0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment