diff options
| author | Sean Cross <[email protected]> | 2019-11-20 17:45:21 +0800 |
|---|---|---|
| committer | Sean Cross <[email protected]> | 2019-11-20 17:45:21 +0800 |
| commit | a9282eab51e7342cb464fcf995d8612ee606357c (patch) | |
| tree | e4e5e62a4fb21102e38810c6a42405c1a04f3247 /examples/device/usbtmc/src | |
| parent | c2fb813658d6242dbea13d9f811482e34cd712c0 (diff) | |
eptri: clear proper endpoint when opening IN port
When opening a USB port, we ensure the buffer is NULL and has
a length of 0.
Due to a mistake in specifying the endpoint type, we never actually
cleared the value when opening an IN endpoint. This patch fixes
the comparison when opening an IN endpoint.
This fixes issue #218.
Signed-off-by: Sean Cross <[email protected]>
Diffstat (limited to 'examples/device/usbtmc/src')
0 files changed, 0 insertions, 0 deletions
